1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/config/ConfigService_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/config/model/DeliveryChannel.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ConfigService
25 {
26 namespace Model
27 {
28   /**
29    * <p>The output for the <a>DescribeDeliveryChannels</a> action.</p><p><h3>See
30    * Also:</h3>   <a
31    * href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsResponse">AWS
32    * API Reference</a></p>
33    */
34   class AWS_CONFIGSERVICE_API DescribeDeliveryChannelsResult
35   {
36   public:
37     DescribeDeliveryChannelsResult();
38     DescribeDeliveryChannelsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39     DescribeDeliveryChannelsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
40 
41 
42     /**
43      * <p>A list that contains the descriptions of the specified delivery channel.</p>
44      */
GetDeliveryChannels()45     inline const Aws::Vector<DeliveryChannel>& GetDeliveryChannels() const{ return m_deliveryChannels; }
46 
47     /**
48      * <p>A list that contains the descriptions of the specified delivery channel.</p>
49      */
SetDeliveryChannels(const Aws::Vector<DeliveryChannel> & value)50     inline void SetDeliveryChannels(const Aws::Vector<DeliveryChannel>& value) { m_deliveryChannels = value; }
51 
52     /**
53      * <p>A list that contains the descriptions of the specified delivery channel.</p>
54      */
SetDeliveryChannels(Aws::Vector<DeliveryChannel> && value)55     inline void SetDeliveryChannels(Aws::Vector<DeliveryChannel>&& value) { m_deliveryChannels = std::move(value); }
56 
57     /**
58      * <p>A list that contains the descriptions of the specified delivery channel.</p>
59      */
WithDeliveryChannels(const Aws::Vector<DeliveryChannel> & value)60     inline DescribeDeliveryChannelsResult& WithDeliveryChannels(const Aws::Vector<DeliveryChannel>& value) { SetDeliveryChannels(value); return *this;}
61 
62     /**
63      * <p>A list that contains the descriptions of the specified delivery channel.</p>
64      */
WithDeliveryChannels(Aws::Vector<DeliveryChannel> && value)65     inline DescribeDeliveryChannelsResult& WithDeliveryChannels(Aws::Vector<DeliveryChannel>&& value) { SetDeliveryChannels(std::move(value)); return *this;}
66 
67     /**
68      * <p>A list that contains the descriptions of the specified delivery channel.</p>
69      */
AddDeliveryChannels(const DeliveryChannel & value)70     inline DescribeDeliveryChannelsResult& AddDeliveryChannels(const DeliveryChannel& value) { m_deliveryChannels.push_back(value); return *this; }
71 
72     /**
73      * <p>A list that contains the descriptions of the specified delivery channel.</p>
74      */
AddDeliveryChannels(DeliveryChannel && value)75     inline DescribeDeliveryChannelsResult& AddDeliveryChannels(DeliveryChannel&& value) { m_deliveryChannels.push_back(std::move(value)); return *this; }
76 
77   private:
78 
79     Aws::Vector<DeliveryChannel> m_deliveryChannels;
80   };
81 
82 } // namespace Model
83 } // namespace ConfigService
84 } // namespace Aws
85