AWS SDK for C++  1.8.126
AWS SDK for C++
GetGroupVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Greengrass
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline GetGroupVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline GetGroupVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline GetGroupVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
76 
80  inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
81 
85  inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
86 
90  inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
91 
95  inline GetGroupVersionResult& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
96 
100  inline GetGroupVersionResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
101 
105  inline GetGroupVersionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
106 
107 
111  inline const GroupVersion& GetDefinition() const{ return m_definition; }
112 
116  inline void SetDefinition(const GroupVersion& value) { m_definition = value; }
117 
121  inline void SetDefinition(GroupVersion&& value) { m_definition = std::move(value); }
122 
126  inline GetGroupVersionResult& WithDefinition(const GroupVersion& value) { SetDefinition(value); return *this;}
127 
131  inline GetGroupVersionResult& WithDefinition(GroupVersion&& value) { SetDefinition(std::move(value)); return *this;}
132 
133 
137  inline const Aws::String& GetId() const{ return m_id; }
138 
142  inline void SetId(const Aws::String& value) { m_id = value; }
143 
147  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
148 
152  inline void SetId(const char* value) { m_id.assign(value); }
153 
157  inline GetGroupVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
158 
162  inline GetGroupVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
163 
167  inline GetGroupVersionResult& WithId(const char* value) { SetId(value); return *this;}
168 
169 
173  inline const Aws::String& GetVersion() const{ return m_version; }
174 
178  inline void SetVersion(const Aws::String& value) { m_version = value; }
179 
183  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
184 
188  inline void SetVersion(const char* value) { m_version.assign(value); }
189 
193  inline GetGroupVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
194 
198  inline GetGroupVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
199 
203  inline GetGroupVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
204 
205  private:
206 
207  Aws::String m_arn;
208 
209  Aws::String m_creationTimestamp;
210 
211  GroupVersion m_definition;
212 
213  Aws::String m_id;
214 
215  Aws::String m_version;
216  };
217 
218 } // namespace Model
219 } // namespace Greengrass
220 } // namespace Aws
Aws::Greengrass::Model::GetGroupVersionResult::SetDefinition
void SetDefinition(GroupVersion &&value)
Definition: GetGroupVersionResult.h:121
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Greengrass::Model::GetGroupVersionResult::GetId
const Aws::String & GetId() const
Definition: GetGroupVersionResult.h:137
Aws::Greengrass::Model::GetGroupVersionResult::GetArn
const Aws::String & GetArn() const
Definition: GetGroupVersionResult.h:39
Aws::Greengrass::Model::GetGroupVersionResult::GetCreationTimestamp
const Aws::String & GetCreationTimestamp() const
Definition: GetGroupVersionResult.h:75
Greengrass_EXPORTS.h
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
GroupVersion.h
Aws::Greengrass::Model::GetGroupVersionResult::WithVersion
GetGroupVersionResult & WithVersion(const char *value)
Definition: GetGroupVersionResult.h:203
Aws::Greengrass::Model::GetGroupVersionResult::SetCreationTimestamp
void SetCreationTimestamp(const Aws::String &value)
Definition: GetGroupVersionResult.h:80
Aws::Greengrass::Model::GetGroupVersionResult::WithArn
GetGroupVersionResult & WithArn(Aws::String &&value)
Definition: GetGroupVersionResult.h:64
Aws::Greengrass::Model::GetGroupVersionResult::SetCreationTimestamp
void SetCreationTimestamp(Aws::String &&value)
Definition: GetGroupVersionResult.h:85
Aws::Greengrass::Model::GetGroupVersionResult::SetArn
void SetArn(const char *value)
Definition: GetGroupVersionResult.h:54
Aws::Greengrass::Model::GetGroupVersionResult::SetDefinition
void SetDefinition(const GroupVersion &value)
Definition: GetGroupVersionResult.h:116
Aws::Greengrass::Model::GetGroupVersionResult::GetGroupVersionResult
GetGroupVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Greengrass::Model::GetGroupVersionResult::WithCreationTimestamp
GetGroupVersionResult & WithCreationTimestamp(const Aws::String &value)
Definition: GetGroupVersionResult.h:95
Aws::Greengrass::Model::GetGroupVersionResult::operator=
GetGroupVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Greengrass::Model::GetGroupVersionResult::SetId
void SetId(const char *value)
Definition: GetGroupVersionResult.h:152
Aws::Greengrass::Model::GetGroupVersionResult::WithId
GetGroupVersionResult & WithId(const char *value)
Definition: GetGroupVersionResult.h:167
Aws::Greengrass::Model::GetGroupVersionResult::WithDefinition
GetGroupVersionResult & WithDefinition(GroupVersion &&value)
Definition: GetGroupVersionResult.h:131
Aws::Greengrass::Model::GetGroupVersionResult
Definition: GetGroupVersionResult.h:29
Aws::Greengrass::Model::GetGroupVersionResult::WithVersion
GetGroupVersionResult & WithVersion(Aws::String &&value)
Definition: GetGroupVersionResult.h:198
Aws::Greengrass::Model::GetGroupVersionResult::WithArn
GetGroupVersionResult & WithArn(const char *value)
Definition: GetGroupVersionResult.h:69
Aws::Greengrass::Model::GetGroupVersionResult::SetId
void SetId(const Aws::String &value)
Definition: GetGroupVersionResult.h:142
Aws::Greengrass::Model::GetGroupVersionResult::GetGroupVersionResult
GetGroupVersionResult()
Aws::Greengrass::Model::GetGroupVersionResult::WithDefinition
GetGroupVersionResult & WithDefinition(const GroupVersion &value)
Definition: GetGroupVersionResult.h:126
Aws::Greengrass::Model::GetGroupVersionResult::WithCreationTimestamp
GetGroupVersionResult & WithCreationTimestamp(Aws::String &&value)
Definition: GetGroupVersionResult.h:100
Aws::Greengrass::Model::GetGroupVersionResult::SetId
void SetId(Aws::String &&value)
Definition: GetGroupVersionResult.h:147
AWSString.h
Aws::Greengrass::Model::GroupVersion
Definition: GroupVersion.h:32
Aws::Greengrass::Model::GetGroupVersionResult::WithId
GetGroupVersionResult & WithId(const Aws::String &value)
Definition: GetGroupVersionResult.h:157
Aws::Greengrass::Model::GetGroupVersionResult::WithArn
GetGroupVersionResult & WithArn(const Aws::String &value)
Definition: GetGroupVersionResult.h:59
Aws::Greengrass::Model::GetGroupVersionResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: GetGroupVersionResult.h:183
Aws::Greengrass::Model::GetGroupVersionResult::SetCreationTimestamp
void SetCreationTimestamp(const char *value)
Definition: GetGroupVersionResult.h:90
Aws::Greengrass::Model::GetGroupVersionResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetGroupVersionResult.h:49
Aws::Greengrass::Model::GetGroupVersionResult::WithVersion
GetGroupVersionResult & WithVersion(const Aws::String &value)
Definition: GetGroupVersionResult.h:193
Aws::Greengrass::Model::GetGroupVersionResult::WithCreationTimestamp
GetGroupVersionResult & WithCreationTimestamp(const char *value)
Definition: GetGroupVersionResult.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::GetGroupVersionResult::GetVersion
const Aws::String & GetVersion() const
Definition: GetGroupVersionResult.h:173
Aws::Greengrass::Model::GetGroupVersionResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: GetGroupVersionResult.h:178
Aws::Greengrass::Model::GetGroupVersionResult::SetVersion
void SetVersion(const char *value)
Definition: GetGroupVersionResult.h:188
Aws::Greengrass::Model::GetGroupVersionResult::WithId
GetGroupVersionResult & WithId(Aws::String &&value)
Definition: GetGroupVersionResult.h:162
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::GetGroupVersionResult::GetDefinition
const GroupVersion & GetDefinition() const
Definition: GetGroupVersionResult.h:111
Aws::Greengrass::Model::GetGroupVersionResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetGroupVersionResult.h:44