AWS SDK for C++  1.9.71
AWS SDK for C++
TemplateVersionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline TemplateVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline TemplateVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline TemplateVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline long long GetVersionNumber() const{ return m_versionNumber; }
87 
91  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
92 
96  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
97 
101  inline TemplateVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
102 
103 
107  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
108 
112  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
113 
117  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
118 
122  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
123 
127  inline TemplateVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
128 
132  inline TemplateVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
133 
134 
138  inline const ResourceStatus& GetStatus() const{ return m_status; }
139 
143  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 
148  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
149 
153  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154 
158  inline TemplateVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
159 
163  inline TemplateVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
164 
165 
169  inline const Aws::String& GetDescription() const{ return m_description; }
170 
174  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 
179  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 
184  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 
189  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
190 
194  inline TemplateVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline TemplateVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline TemplateVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
205 
206  private:
207 
208  Aws::String m_arn;
209  bool m_arnHasBeenSet;
210 
211  long long m_versionNumber;
212  bool m_versionNumberHasBeenSet;
213 
214  Aws::Utils::DateTime m_createdTime;
215  bool m_createdTimeHasBeenSet;
216 
217  ResourceStatus m_status;
218  bool m_statusHasBeenSet;
219 
220  Aws::String m_description;
221  bool m_descriptionHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace QuickSight
226 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::TemplateVersionSummary::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateVersionSummary.h:122
Aws::QuickSight::Model::TemplateVersionSummary::SetDescription
void SetDescription(const char *value)
Definition: TemplateVersionSummary.h:189
ResourceStatus.h
Aws::QuickSight::Model::TemplateVersionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TemplateVersionSummary.h:143
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TemplateVersionSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TemplateVersionSummary.h:50
Aws::QuickSight::Model::TemplateVersionSummary::operator=
TemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateVersionSummary::WithVersionNumber
TemplateVersionSummary & WithVersionNumber(long long value)
Definition: TemplateVersionSummary.h:101
Aws::QuickSight::Model::TemplateVersionSummary::GetArn
const Aws::String & GetArn() const
Definition: TemplateVersionSummary.h:45
Aws::QuickSight::Model::TemplateVersionSummary::GetVersionNumber
long long GetVersionNumber() const
Definition: TemplateVersionSummary.h:86
Aws::QuickSight::Model::TemplateVersionSummary::WithDescription
TemplateVersionSummary & WithDescription(const Aws::String &value)
Definition: TemplateVersionSummary.h:194
Aws::QuickSight::Model::TemplateVersionSummary::SetArn
void SetArn(const char *value)
Definition: TemplateVersionSummary.h:65
Aws::QuickSight::Model::TemplateVersionSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: TemplateVersionSummary.h:184
Aws::QuickSight::Model::TemplateVersionSummary::WithCreatedTime
TemplateVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateVersionSummary.h:127
DateTime.h
Aws::QuickSight::Model::TemplateVersionSummary::WithArn
TemplateVersionSummary & WithArn(const Aws::String &value)
Definition: TemplateVersionSummary.h:70
Aws::QuickSight::Model::TemplateVersionSummary::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: TemplateVersionSummary.h:91
Aws::QuickSight::Model::TemplateVersionSummary::TemplateVersionSummary
TemplateVersionSummary()
Aws::QuickSight::Model::TemplateVersionSummary::WithStatus
TemplateVersionSummary & WithStatus(const ResourceStatus &value)
Definition: TemplateVersionSummary.h:158
Aws::QuickSight::Model::TemplateVersionSummary::WithArn
TemplateVersionSummary & WithArn(const char *value)
Definition: TemplateVersionSummary.h:80
Aws::QuickSight::Model::TemplateVersionSummary::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: TemplateVersionSummary.h:153
Aws::QuickSight::Model::TemplateVersionSummary
Definition: TemplateVersionSummary.h:34
Aws::QuickSight::Model::TemplateVersionSummary::SetArn
void SetArn(const Aws::String &value)
Definition: TemplateVersionSummary.h:55
Aws::QuickSight::Model::TemplateVersionSummary::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateVersionSummary.h:117
Aws::QuickSight::Model::TemplateVersionSummary::WithDescription
TemplateVersionSummary & WithDescription(const char *value)
Definition: TemplateVersionSummary.h:204
Aws::QuickSight::Model::TemplateVersionSummary::GetDescription
const Aws::String & GetDescription() const
Definition: TemplateVersionSummary.h:169
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::QuickSight::Model::TemplateVersionSummary::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: TemplateVersionSummary.h:107
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::QuickSight::Model::TemplateVersionSummary::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: TemplateVersionSummary.h:112
Aws::QuickSight::Model::TemplateVersionSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: TemplateVersionSummary.h:179
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::TemplateVersionSummary::SetArn
void SetArn(Aws::String &&value)
Definition: TemplateVersionSummary.h:60
Aws::QuickSight::Model::TemplateVersionSummary::GetStatus
const ResourceStatus & GetStatus() const
Definition: TemplateVersionSummary.h:138
Aws::QuickSight::Model::TemplateVersionSummary::WithCreatedTime
TemplateVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateVersionSummary.h:132
Aws::QuickSight::Model::TemplateVersionSummary::WithStatus
TemplateVersionSummary & WithStatus(ResourceStatus &&value)
Definition: TemplateVersionSummary.h:163
Aws::QuickSight::Model::TemplateVersionSummary::WithDescription
TemplateVersionSummary & WithDescription(Aws::String &&value)
Definition: TemplateVersionSummary.h:199
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TemplateVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TemplateVersionSummary::WithArn
TemplateVersionSummary & WithArn(Aws::String &&value)
Definition: TemplateVersionSummary.h:75
Aws::QuickSight::Model::TemplateVersionSummary::SetVersionNumber
void SetVersionNumber(long long value)
Definition: TemplateVersionSummary.h:96
Aws::QuickSight::Model::TemplateVersionSummary::TemplateVersionSummary
TemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateVersionSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: TemplateVersionSummary.h:174
Aws::QuickSight::Model::TemplateVersionSummary::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: TemplateVersionSummary.h:148