AWS SDK for C++  1.9.19
AWS SDK for C++
TemplateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
80 
81 
85  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
86 
90  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
91 
95  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
96 
100  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
101 
105  inline TemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
106 
110  inline TemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
111 
112 
117  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
118 
123  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
124 
129  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
130 
135  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
136 
141  inline TemplateSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
142 
147  inline TemplateSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
148 
149 
153  inline const Aws::String& GetName() const{ return m_name; }
154 
158  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
159 
163  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
164 
168  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
169 
173  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
174 
178  inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
179 
183  inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
184 
188  inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;}
189 
190  private:
191 
192  Aws::String m_arn;
193  bool m_arnHasBeenSet;
194 
195  Aws::Utils::DateTime m_createdAt;
196  bool m_createdAtHasBeenSet;
197 
198  Aws::Utils::DateTime m_lastUpdatedAt;
199  bool m_lastUpdatedAtHasBeenSet;
200 
201  Aws::String m_name;
202  bool m_nameHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace RoboMaker
207 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RoboMaker::Model::TemplateSummary::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:135
Aws::RoboMaker::Model::TemplateSummary::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: TemplateSummary.h:90
Aws::RoboMaker::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(Aws::String &&value)
Definition: TemplateSummary.h:74
Aws::RoboMaker::Model::TemplateSummary::SetName
void SetName(Aws::String &&value)
Definition: TemplateSummary.h:168
DateTime.h
Aws::RoboMaker::Model::TemplateSummary::TemplateSummary
TemplateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(const Aws::String &value)
Definition: TemplateSummary.h:69
Aws::RoboMaker::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(const char *value)
Definition: TemplateSummary.h:79
Aws::RoboMaker::Model::TemplateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::TemplateSummary::GetArn
const Aws::String & GetArn() const
Definition: TemplateSummary.h:44
Aws::RoboMaker::Model::TemplateSummary::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: TemplateSummary.h:117
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::TemplateSummary::SetName
void SetName(const Aws::String &value)
Definition: TemplateSummary.h:163
Aws::RoboMaker::Model::TemplateSummary::WithName
TemplateSummary & WithName(const Aws::String &value)
Definition: TemplateSummary.h:178
Aws::RoboMaker::Model::TemplateSummary::WithCreatedAt
TemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:110
Aws::RoboMaker::Model::TemplateSummary::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:100
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::TemplateSummary::WithName
TemplateSummary & WithName(Aws::String &&value)
Definition: TemplateSummary.h:183
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RoboMaker::Model::TemplateSummary::operator=
TemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::TemplateSummary::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:129
Aws::RoboMaker::Model::TemplateSummary::WithLastUpdatedAt
TemplateSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:147
Aws::RoboMaker::Model::TemplateSummary::WithName
TemplateSummary & WithName(const char *value)
Definition: TemplateSummary.h:188
Aws::RoboMaker::Model::TemplateSummary::WithCreatedAt
TemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:105
Aws::RoboMaker::Model::TemplateSummary::WithLastUpdatedAt
TemplateSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:141
Aws::RoboMaker::Model::TemplateSummary::TemplateSummary
TemplateSummary()
Aws::RoboMaker::Model::TemplateSummary
Definition: TemplateSummary.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::TemplateSummary::SetArn
void SetArn(Aws::String &&value)
Definition: TemplateSummary.h:59
Aws::RoboMaker::Model::TemplateSummary::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:95
Aws::RoboMaker::Model::TemplateSummary::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: TemplateSummary.h:85
Aws::RoboMaker::Model::TemplateSummary::GetName
const Aws::String & GetName() const
Definition: TemplateSummary.h:153
Aws::RoboMaker::Model::TemplateSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: TemplateSummary.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::TemplateSummary::SetArn
void SetArn(const char *value)
Definition: TemplateSummary.h:64
Aws::RoboMaker::Model::TemplateSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TemplateSummary.h:49
Aws::RoboMaker::Model::TemplateSummary::SetName
void SetName(const char *value)
Definition: TemplateSummary.h:173
Aws::RoboMaker::Model::TemplateSummary::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: TemplateSummary.h:123
Aws::RoboMaker::Model::TemplateSummary::SetArn
void SetArn(const Aws::String &value)
Definition: TemplateSummary.h:54