AWS SDK for C++  1.9.19
AWS SDK for C++
CreateFleetResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace RoboMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetArn() const{ return m_arn; }
41 
45  inline void SetArn(const Aws::String& value) { m_arn = value; }
46 
50  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
51 
55  inline void SetArn(const char* value) { m_arn.assign(value); }
56 
60  inline CreateFleetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 
65  inline CreateFleetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 
70  inline CreateFleetResult& WithArn(const char* value) { SetArn(value); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline void SetName(const Aws::String& value) { m_name = value; }
82 
86  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
87 
91  inline void SetName(const char* value) { m_name.assign(value); }
92 
96  inline CreateFleetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
97 
101  inline CreateFleetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
106  inline CreateFleetResult& WithName(const char* value) { SetName(value); return *this;}
107 
108 
112  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
113 
117  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
118 
122  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
123 
127  inline CreateFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
128 
132  inline CreateFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
133 
134 
138  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
139 
143  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
144 
148  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
149 
153  inline CreateFleetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
154 
158  inline CreateFleetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
159 
163  inline CreateFleetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
164 
168  inline CreateFleetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
169 
173  inline CreateFleetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
174 
178  inline CreateFleetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
179 
183  inline CreateFleetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
184 
188  inline CreateFleetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
189 
193  inline CreateFleetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
194 
195  private:
196 
197  Aws::String m_arn;
198 
199  Aws::String m_name;
200 
201  Aws::Utils::DateTime m_createdAt;
202 
204  };
205 
206 } // namespace Model
207 } // namespace RoboMaker
208 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateFleetResult.h:163
Aws::RoboMaker::Model::CreateFleetResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateFleetResult.h:122
Aws::RoboMaker::Model::CreateFleetResult::WithArn
CreateFleetResult & WithArn(const char *value)
Definition: CreateFleetResult.h:70
Aws::RoboMaker::Model::CreateFleetResult::GetArn
const Aws::String & GetArn() const
Definition: CreateFleetResult.h:40
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateFleetResult.h:183
DateTime.h
Aws::RoboMaker::Model::CreateFleetResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: CreateFleetResult.h:112
Aws::RoboMaker::Model::CreateFleetResult::WithName
CreateFleetResult & WithName(const Aws::String &value)
Definition: CreateFleetResult.h:96
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateFleetResult.h:173
Aws::RoboMaker::Model::CreateFleetResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateFleetResult.h:143
Aws::RoboMaker::Model::CreateFleetResult::SetName
void SetName(Aws::String &&value)
Definition: CreateFleetResult.h:86
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateFleetResult.h:188
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateFleetResult.h:168
Aws::RoboMaker::Model::CreateFleetResult::WithTags
CreateFleetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateFleetResult.h:158
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(const char *key, const char *value)
Definition: CreateFleetResult.h:193
Aws::RoboMaker::Model::CreateFleetResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateFleetResult.h:138
Aws::RoboMaker::Model::CreateFleetResult::WithName
CreateFleetResult & WithName(const char *value)
Definition: CreateFleetResult.h:106
Aws::RoboMaker::Model::CreateFleetResult::SetArn
void SetArn(const char *value)
Definition: CreateFleetResult.h:55
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateFleetResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateFleetResult.h:50
Aws::RoboMaker::Model::CreateFleetResult::operator=
CreateFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::CreateFleetResult::WithCreatedAt
CreateFleetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: CreateFleetResult.h:132
Aws::RoboMaker::Model::CreateFleetResult
Definition: CreateFleetResult.h:30
Aws::RoboMaker::Model::CreateFleetResult::AddTags
CreateFleetResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateFleetResult.h:178
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateFleetResult::WithTags
CreateFleetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateFleetResult.h:153
Aws::RoboMaker::Model::CreateFleetResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateFleetResult.h:117
Aws::RoboMaker::Model::CreateFleetResult::CreateFleetResult
CreateFleetResult()
AWSString.h
Aws::RoboMaker::Model::CreateFleetResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateFleetResult.h:148
Aws::RoboMaker::Model::CreateFleetResult::WithCreatedAt
CreateFleetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: CreateFleetResult.h:127
Aws::RoboMaker::Model::CreateFleetResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateFleetResult.h:45
Aws::RoboMaker::Model::CreateFleetResult::WithArn
CreateFleetResult & WithArn(Aws::String &&value)
Definition: CreateFleetResult.h:65
Aws::RoboMaker::Model::CreateFleetResult::WithArn
CreateFleetResult & WithArn(const Aws::String &value)
Definition: CreateFleetResult.h:60
Aws::RoboMaker::Model::CreateFleetResult::WithName
CreateFleetResult & WithName(Aws::String &&value)
Definition: CreateFleetResult.h:101
Aws::RoboMaker::Model::CreateFleetResult::CreateFleetResult
CreateFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateFleetResult::GetName
const Aws::String & GetName() const
Definition: CreateFleetResult.h:76
Aws::RoboMaker::Model::CreateFleetResult::SetName
void SetName(const Aws::String &value)
Definition: CreateFleetResult.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateFleetResult::SetName
void SetName(const char *value)
Definition: CreateFleetResult.h:91
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19