AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetSubscriptionDefinitionVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/SubscriptionDefinitionVersion.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass {
23namespace Model {
25 public:
26 AWS_GREENGRASS_API GetSubscriptionDefinitionVersionResult() = 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
53 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
54 template <typename CreationTimestampT = Aws::String>
55 void SetCreationTimestamp(CreationTimestampT&& value) {
56 m_creationTimestampHasBeenSet = true;
57 m_creationTimestamp = std::forward<CreationTimestampT>(value);
58 }
59 template <typename CreationTimestampT = Aws::String>
61 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
62 return *this;
63 }
65
67
70 inline const SubscriptionDefinitionVersion& GetDefinition() const { return m_definition; }
71 template <typename DefinitionT = SubscriptionDefinitionVersion>
72 void SetDefinition(DefinitionT&& value) {
73 m_definitionHasBeenSet = true;
74 m_definition = std::forward<DefinitionT>(value);
75 }
76 template <typename DefinitionT = SubscriptionDefinitionVersion>
78 SetDefinition(std::forward<DefinitionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetId() const { return m_id; }
88 template <typename IdT = Aws::String>
89 void SetId(IdT&& value) {
90 m_idHasBeenSet = true;
91 m_id = std::forward<IdT>(value);
92 }
93 template <typename IdT = Aws::String>
95 SetId(std::forward<IdT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetNextToken() const { return m_nextToken; }
106 template <typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) {
108 m_nextTokenHasBeenSet = true;
109 m_nextToken = std::forward<NextTokenT>(value);
110 }
111 template <typename NextTokenT = Aws::String>
113 SetNextToken(std::forward<NextTokenT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetVersion() const { return m_version; }
123 template <typename VersionT = Aws::String>
124 void SetVersion(VersionT&& value) {
125 m_versionHasBeenSet = true;
126 m_version = std::forward<VersionT>(value);
127 }
128 template <typename VersionT = Aws::String>
130 SetVersion(std::forward<VersionT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_arn;
151
152 Aws::String m_creationTimestamp;
153
155
156 Aws::String m_id;
157
158 Aws::String m_nextToken;
159
160 Aws::String m_version;
161
162 Aws::String m_requestId;
163 bool m_arnHasBeenSet = false;
164 bool m_creationTimestampHasBeenSet = false;
165 bool m_definitionHasBeenSet = false;
166 bool m_idHasBeenSet = false;
167 bool m_nextTokenHasBeenSet = false;
168 bool m_versionHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace Greengrass
174} // 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