AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDeliveryChannelsResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/config/model/DeliveryChannel.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ConfigService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CONFIGSERVICE_API DescribeDeliveryChannelsResult() = default;
41
42
44
47 inline const Aws::Vector<DeliveryChannel>& GetDeliveryChannels() const { return m_deliveryChannels; }
48 template<typename DeliveryChannelsT = Aws::Vector<DeliveryChannel>>
49 void SetDeliveryChannels(DeliveryChannelsT&& value) { m_deliveryChannelsHasBeenSet = true; m_deliveryChannels = std::forward<DeliveryChannelsT>(value); }
50 template<typename DeliveryChannelsT = Aws::Vector<DeliveryChannel>>
51 DescribeDeliveryChannelsResult& WithDeliveryChannels(DeliveryChannelsT&& value) { SetDeliveryChannels(std::forward<DeliveryChannelsT>(value)); return *this;}
52 template<typename DeliveryChannelsT = DeliveryChannel>
53 DescribeDeliveryChannelsResult& AddDeliveryChannels(DeliveryChannelsT&& value) { m_deliveryChannelsHasBeenSet = true; m_deliveryChannels.emplace_back(std::forward<DeliveryChannelsT>(value)); return *this; }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template<typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
61 template<typename RequestIdT = Aws::String>
62 DescribeDeliveryChannelsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
64 private:
65
66 Aws::Vector<DeliveryChannel> m_deliveryChannels;
67 bool m_deliveryChannelsHasBeenSet = false;
68
69 Aws::String m_requestId;
70 bool m_requestIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ConfigService
75} // namespace Aws
AWS_CONFIGSERVICE_API DescribeDeliveryChannelsResult()=default
const Aws::Vector< DeliveryChannel > & GetDeliveryChannels() const
AWS_CONFIGSERVICE_API DescribeDeliveryChannelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeliveryChannelsResult & WithRequestId(RequestIdT &&value)
AWS_CONFIGSERVICE_API DescribeDeliveryChannelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeliveryChannelsResult & WithDeliveryChannels(DeliveryChannelsT &&value)
DescribeDeliveryChannelsResult & AddDeliveryChannels(DeliveryChannelsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue