AWS SDK for C++  1.9.154
AWS SDK for C++
ThemeVersionSummary.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 long long GetVersionNumber() const{ return m_versionNumber; }
46 
50  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
51 
55  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
56 
60  inline ThemeVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
61 
62 
66  inline const Aws::String& GetArn() const{ return m_arn; }
67 
71  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 
76  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
77 
81  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
82 
86  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
87 
91  inline ThemeVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
92 
96  inline ThemeVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
97 
101  inline ThemeVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
102 
103 
107  inline const Aws::String& GetDescription() const{ return m_description; }
108 
112  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 
117  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
118 
122  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 
127  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
128 
132  inline ThemeVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
133 
137  inline ThemeVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 
142  inline ThemeVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
143 
144 
148  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
149 
153  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
154 
158  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
159 
163  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
164 
168  inline ThemeVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
169 
173  inline ThemeVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
174 
175 
179  inline const ResourceStatus& GetStatus() const{ return m_status; }
180 
184  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
185 
189  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
190 
194  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
195 
199  inline ThemeVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
200 
204  inline ThemeVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
205 
206  private:
207 
208  long long m_versionNumber;
209  bool m_versionNumberHasBeenSet;
210 
211  Aws::String m_arn;
212  bool m_arnHasBeenSet;
213 
214  Aws::String m_description;
215  bool m_descriptionHasBeenSet;
216 
217  Aws::Utils::DateTime m_createdTime;
218  bool m_createdTimeHasBeenSet;
219 
220  ResourceStatus m_status;
221  bool m_statusHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace QuickSight
226 } // namespace Aws
Aws::QuickSight::Model::ThemeVersionSummary::WithStatus
ThemeVersionSummary & WithStatus(const ResourceStatus &value)
Definition: ThemeVersionSummary.h:199
Aws::Utils::DateTime
Definition: DateTime.h:55
ResourceStatus.h
Aws::QuickSight::Model::ThemeVersionSummary::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: ThemeVersionSummary.h:50
Aws::QuickSight::Model::ThemeVersionSummary::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: ThemeVersionSummary.h:163
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ThemeVersionSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: ThemeVersionSummary.h:117
DateTime.h
Aws::QuickSight::Model::ThemeVersionSummary::WithCreatedTime
ThemeVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: ThemeVersionSummary.h:168
Aws::QuickSight::Model::ThemeVersionSummary::SetArn
void SetArn(const Aws::String &value)
Definition: ThemeVersionSummary.h:76
Aws::QuickSight::Model::ThemeVersionSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ThemeVersionSummary.h:112
Aws::QuickSight::Model::ThemeVersionSummary::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: ThemeVersionSummary.h:189
Aws::QuickSight::Model::ThemeVersionSummary::WithDescription
ThemeVersionSummary & WithDescription(Aws::String &&value)
Definition: ThemeVersionSummary.h:137
Aws::QuickSight::Model::ThemeVersionSummary::operator=
ThemeVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ThemeVersionSummary::SetDescription
void SetDescription(const char *value)
Definition: ThemeVersionSummary.h:127
Aws::QuickSight::Model::ThemeVersionSummary::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: ThemeVersionSummary.h:194
Aws::QuickSight::Model::ThemeVersionSummary::GetArn
const Aws::String & GetArn() const
Definition: ThemeVersionSummary.h:66
Aws::QuickSight::Model::ThemeVersionSummary::WithCreatedTime
ThemeVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: ThemeVersionSummary.h:173
Aws::QuickSight::Model::ThemeVersionSummary::WithDescription
ThemeVersionSummary & WithDescription(const Aws::String &value)
Definition: ThemeVersionSummary.h:132
Aws::QuickSight::Model::ThemeVersionSummary::SetArn
void SetArn(const char *value)
Definition: ThemeVersionSummary.h:86
Aws::QuickSight::Model::ThemeVersionSummary::WithArn
ThemeVersionSummary & WithArn(const Aws::String &value)
Definition: ThemeVersionSummary.h:91
Aws::QuickSight::Model::ThemeVersionSummary::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: ThemeVersionSummary.h:158
Aws::QuickSight::Model::ThemeVersionSummary::WithStatus
ThemeVersionSummary & WithStatus(ResourceStatus &&value)
Definition: ThemeVersionSummary.h:204
Aws::QuickSight::Model::ThemeVersionSummary
Definition: ThemeVersionSummary.h:34
Aws::QuickSight::Model::ThemeVersionSummary::ThemeVersionSummary
ThemeVersionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ThemeVersionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ThemeVersionSummary.h:184
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ThemeVersionSummary::GetDescription
const Aws::String & GetDescription() const
Definition: ThemeVersionSummary.h:107
Aws::QuickSight::Model::ThemeVersionSummary::GetStatus
const ResourceStatus & GetStatus() const
Definition: ThemeVersionSummary.h:179
Aws::QuickSight::Model::ThemeVersionSummary::ThemeVersionSummary
ThemeVersionSummary()
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::ThemeVersionSummary::SetArn
void SetArn(Aws::String &&value)
Definition: ThemeVersionSummary.h:81
Aws::QuickSight::Model::ThemeVersionSummary::GetVersionNumber
long long GetVersionNumber() const
Definition: ThemeVersionSummary.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::ThemeVersionSummary::WithArn
ThemeVersionSummary & WithArn(Aws::String &&value)
Definition: ThemeVersionSummary.h:96
Aws::QuickSight::Model::ThemeVersionSummary::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: ThemeVersionSummary.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ThemeVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::ThemeVersionSummary::WithVersionNumber
ThemeVersionSummary & WithVersionNumber(long long value)
Definition: ThemeVersionSummary.h:60
Aws::QuickSight::Model::ThemeVersionSummary::WithArn
ThemeVersionSummary & WithArn(const char *value)
Definition: ThemeVersionSummary.h:101
Aws::QuickSight::Model::ThemeVersionSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ThemeVersionSummary.h:71
Aws::QuickSight::Model::ThemeVersionSummary::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: ThemeVersionSummary.h:153
Aws::QuickSight::Model::ThemeVersionSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: ThemeVersionSummary.h:122
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ThemeVersionSummary::WithDescription
ThemeVersionSummary & WithDescription(const char *value)
Definition: ThemeVersionSummary.h:142
Aws::QuickSight::Model::ThemeVersionSummary::SetVersionNumber
void SetVersionNumber(long long value)
Definition: ThemeVersionSummary.h:55