AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDestinationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/ExpressionType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetDestinationResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetExpression() const { return m_expression; }
70 template <typename ExpressionT = Aws::String>
71 void SetExpression(ExpressionT&& value) {
72 m_expressionHasBeenSet = true;
73 m_expression = std::forward<ExpressionT>(value);
74 }
75 template <typename ExpressionT = Aws::String>
76 GetDestinationResult& WithExpression(ExpressionT&& value) {
77 SetExpression(std::forward<ExpressionT>(value));
78 return *this;
79 }
81
83
86 inline ExpressionType GetExpressionType() const { return m_expressionType; }
87 inline void SetExpressionType(ExpressionType value) {
88 m_expressionTypeHasBeenSet = true;
89 m_expressionType = value;
90 }
92 SetExpressionType(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetDescription() const { return m_description; }
102 template <typename DescriptionT = Aws::String>
103 void SetDescription(DescriptionT&& value) {
104 m_descriptionHasBeenSet = true;
105 m_description = std::forward<DescriptionT>(value);
106 }
107 template <typename DescriptionT = Aws::String>
108 GetDestinationResult& WithDescription(DescriptionT&& value) {
109 SetDescription(std::forward<DescriptionT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
119 template <typename RoleArnT = Aws::String>
120 void SetRoleArn(RoleArnT&& value) {
121 m_roleArnHasBeenSet = true;
122 m_roleArn = std::forward<RoleArnT>(value);
123 }
124 template <typename RoleArnT = Aws::String>
126 SetRoleArn(std::forward<RoleArnT>(value));
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
140 GetDestinationResult& WithRequestId(RequestIdT&& value) {
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
146
147 private:
148 Aws::String m_arn;
149
150 Aws::String m_name;
151
152 Aws::String m_expression;
153
154 ExpressionType m_expressionType{ExpressionType::NOT_SET};
155
156 Aws::String m_description;
157
158 Aws::String m_roleArn;
159
160 Aws::String m_requestId;
161 Aws::Http::HttpResponseCode m_HttpResponseCode;
162 bool m_arnHasBeenSet = false;
163 bool m_nameHasBeenSet = false;
164 bool m_expressionHasBeenSet = false;
165 bool m_expressionTypeHasBeenSet = false;
166 bool m_descriptionHasBeenSet = false;
167 bool m_roleArnHasBeenSet = false;
168 bool m_requestIdHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace IoTWireless
173} // namespace Aws
AWS_IOTWIRELESS_API GetDestinationResult()=default
AWS_IOTWIRELESS_API GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithExpression(ExpressionT &&value)
GetDestinationResult & WithExpressionType(ExpressionType value)
AWS_IOTWIRELESS_API GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithName(NameT &&value)
GetDestinationResult & WithDescription(DescriptionT &&value)
GetDestinationResult & WithArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDestinationResult & WithRoleArn(RoleArnT &&value)
GetDestinationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue