AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeDeliveryChannelsRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConfigService {
16namespace Model {
17
25 public:
26 AWS_CONFIGSERVICE_API DescribeDeliveryChannelsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeDeliveryChannels"; }
33
34 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::Vector<Aws::String>& GetDeliveryChannelNames() const { return m_deliveryChannelNames; }
43 inline bool DeliveryChannelNamesHasBeenSet() const { return m_deliveryChannelNamesHasBeenSet; }
44 template <typename DeliveryChannelNamesT = Aws::Vector<Aws::String>>
45 void SetDeliveryChannelNames(DeliveryChannelNamesT&& value) {
46 m_deliveryChannelNamesHasBeenSet = true;
47 m_deliveryChannelNames = std::forward<DeliveryChannelNamesT>(value);
48 }
49 template <typename DeliveryChannelNamesT = Aws::Vector<Aws::String>>
51 SetDeliveryChannelNames(std::forward<DeliveryChannelNamesT>(value));
52 return *this;
53 }
54 template <typename DeliveryChannelNamesT = Aws::String>
56 m_deliveryChannelNamesHasBeenSet = true;
57 m_deliveryChannelNames.emplace_back(std::forward<DeliveryChannelNamesT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<Aws::String> m_deliveryChannelNames;
63 bool m_deliveryChannelNamesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace ConfigService
68} // namespace Aws
DescribeDeliveryChannelsRequest & AddDeliveryChannelNames(DeliveryChannelNamesT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API DescribeDeliveryChannelsRequest()=default
DescribeDeliveryChannelsRequest & WithDeliveryChannelNames(DeliveryChannelNamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector