AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetDestinationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/DeliveryDestinationType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations {
25namespace Model {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult() = default;
31
33
36 inline const Aws::String& GetDescription() const { return m_description; }
37 template <typename DescriptionT = Aws::String>
38 void SetDescription(DescriptionT&& value) {
39 m_descriptionHasBeenSet = true;
40 m_description = std::forward<DescriptionT>(value);
41 }
42 template <typename DescriptionT = Aws::String>
43 GetDestinationResult& WithDescription(DescriptionT&& value) {
44 SetDescription(std::forward<DescriptionT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
54 template <typename DeliveryDestinationArnT = Aws::String>
55 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
56 m_deliveryDestinationArnHasBeenSet = true;
57 m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value);
58 }
59 template <typename DeliveryDestinationArnT = Aws::String>
60 GetDestinationResult& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
61 SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value));
62 return *this;
63 }
65
67
70 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
72 m_deliveryDestinationTypeHasBeenSet = true;
73 m_deliveryDestinationType = value;
74 }
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
103 template <typename RoleArnT = Aws::String>
104 void SetRoleArn(RoleArnT&& value) {
105 m_roleArnHasBeenSet = true;
106 m_roleArn = std::forward<RoleArnT>(value);
107 }
108 template <typename RoleArnT = Aws::String>
110 SetRoleArn(std::forward<RoleArnT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
121 void SetCreatedAt(CreatedAtT&& value) {
122 m_createdAtHasBeenSet = true;
123 m_createdAt = std::forward<CreatedAtT>(value);
124 }
125 template <typename CreatedAtT = Aws::Utils::DateTime>
126 GetDestinationResult& WithCreatedAt(CreatedAtT&& value) {
127 SetCreatedAt(std::forward<CreatedAtT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
137 template <typename UpdatedAtT = Aws::Utils::DateTime>
138 void SetUpdatedAt(UpdatedAtT&& value) {
139 m_updatedAtHasBeenSet = true;
140 m_updatedAt = std::forward<UpdatedAtT>(value);
141 }
142 template <typename UpdatedAtT = Aws::Utils::DateTime>
143 GetDestinationResult& WithUpdatedAt(UpdatedAtT&& value) {
144 SetUpdatedAt(std::forward<UpdatedAtT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
158 GetDestinationResult& WithRequestId(RequestIdT&& value) {
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_description;
167
168 Aws::String m_deliveryDestinationArn;
169
171
172 Aws::String m_name;
173
174 Aws::String m_roleArn;
175
176 Aws::Utils::DateTime m_createdAt{};
177
178 Aws::Utils::DateTime m_updatedAt{};
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_descriptionHasBeenSet = false;
183 bool m_deliveryDestinationArnHasBeenSet = false;
184 bool m_deliveryDestinationTypeHasBeenSet = false;
185 bool m_nameHasBeenSet = false;
186 bool m_roleArnHasBeenSet = false;
187 bool m_createdAtHasBeenSet = false;
188 bool m_updatedAtHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace IoTManagedIntegrations
194} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithDeliveryDestinationType(DeliveryDestinationType value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult()=default
void SetDeliveryDestinationArn(DeliveryDestinationArnT &&value)
GetDestinationResult & WithCreatedAt(CreatedAtT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeliveryDestinationType(DeliveryDestinationType value)
GetDestinationResult & WithDescription(DescriptionT &&value)
GetDestinationResult & WithRequestId(RequestIdT &&value)
GetDestinationResult & WithUpdatedAt(UpdatedAtT &&value)
GetDestinationResult & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue