AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
GetSubscriptionDefinitionVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10#include <aws/greengrass/model/SubscriptionDefinitionVersion.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 Greengrass {
24namespace Model {
26 public:
27 AWS_GREENGRASS_API GetSubscriptionDefinitionVersionResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
55 template <typename CreationTimestampT = Aws::String>
56 void SetCreationTimestamp(CreationTimestampT&& value) {
57 m_creationTimestampHasBeenSet = true;
58 m_creationTimestamp = std::forward<CreationTimestampT>(value);
59 }
60 template <typename CreationTimestampT = Aws::String>
62 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
63 return *this;
64 }
66
68
71 inline const SubscriptionDefinitionVersion& GetDefinition() const { return m_definition; }
72 template <typename DefinitionT = SubscriptionDefinitionVersion>
73 void SetDefinition(DefinitionT&& value) {
74 m_definitionHasBeenSet = true;
75 m_definition = std::forward<DefinitionT>(value);
76 }
77 template <typename DefinitionT = SubscriptionDefinitionVersion>
79 SetDefinition(std::forward<DefinitionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetId() const { return m_id; }
89 template <typename IdT = Aws::String>
90 void SetId(IdT&& value) {
91 m_idHasBeenSet = true;
92 m_id = std::forward<IdT>(value);
93 }
94 template <typename IdT = Aws::String>
96 SetId(std::forward<IdT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetNextToken() const { return m_nextToken; }
107 template <typename NextTokenT = Aws::String>
108 void SetNextToken(NextTokenT&& value) {
109 m_nextTokenHasBeenSet = true;
110 m_nextToken = std::forward<NextTokenT>(value);
111 }
112 template <typename NextTokenT = Aws::String>
114 SetNextToken(std::forward<NextTokenT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetVersion() const { return m_version; }
124 template <typename VersionT = Aws::String>
125 void SetVersion(VersionT&& value) {
126 m_versionHasBeenSet = true;
127 m_version = std::forward<VersionT>(value);
128 }
129 template <typename VersionT = Aws::String>
131 SetVersion(std::forward<VersionT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
151
152 private:
153 Aws::String m_arn;
154
155 Aws::String m_creationTimestamp;
156
158
159 Aws::String m_id;
160
161 Aws::String m_nextToken;
162
163 Aws::String m_version;
164
165 Aws::String m_requestId;
166 Aws::Http::HttpResponseCode m_HttpResponseCode;
167 bool m_arnHasBeenSet = false;
168 bool m_creationTimestampHasBeenSet = false;
169 bool m_definitionHasBeenSet = false;
170 bool m_idHasBeenSet = false;
171 bool m_nextTokenHasBeenSet = false;
172 bool m_versionHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace Greengrass
178} // namespace Aws
AWS_GREENGRASS_API GetSubscriptionDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API GetSubscriptionDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionDefinitionVersionResult & WithRequestId(RequestIdT &&value)
GetSubscriptionDefinitionVersionResult & WithCreationTimestamp(CreationTimestampT &&value)
GetSubscriptionDefinitionVersionResult & WithNextToken(NextTokenT &&value)
GetSubscriptionDefinitionVersionResult & WithVersion(VersionT &&value)
GetSubscriptionDefinitionVersionResult & WithDefinition(DefinitionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue