AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThemeSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API ThemeSummary();
36 AWS_QUICKSIGHT_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API ThemeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline ThemeSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline ThemeSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline ThemeSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline ThemeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline ThemeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline ThemeSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
74 inline const Aws::String& GetThemeId() const{ return m_themeId; }
75 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
76 inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
77 inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
78 inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
79 inline ThemeSummary& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
80 inline ThemeSummary& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
81 inline ThemeSummary& WithThemeId(const char* value) { SetThemeId(value); return *this;}
83
85
88 inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; }
89 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
90 inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
91 inline ThemeSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
99 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
100 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
101 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
102 inline ThemeSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
103 inline ThemeSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
111 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
112 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
113 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
114 inline ThemeSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
115 inline ThemeSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_arn;
120 bool m_arnHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_themeId;
126 bool m_themeIdHasBeenSet = false;
127
128 long long m_latestVersionNumber;
129 bool m_latestVersionNumberHasBeenSet = false;
130
131 Aws::Utils::DateTime m_createdTime;
132 bool m_createdTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastUpdatedTime;
135 bool m_lastUpdatedTimeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
ThemeSummary & WithThemeId(const char *value)
void SetName(const char *value)
ThemeSummary & WithName(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
ThemeSummary & WithLatestVersionNumber(long long value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ThemeSummary & WithArn(const Aws::String &value)
AWS_QUICKSIGHT_API ThemeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
ThemeSummary & WithArn(const char *value)
void SetThemeId(Aws::String &&value)
void SetLatestVersionNumber(long long value)
const Aws::Utils::DateTime & GetCreatedTime() const
ThemeSummary & WithName(const Aws::String &value)
void SetThemeId(const char *value)
ThemeSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
ThemeSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
const Aws::String & GetThemeId() const
ThemeSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetName(Aws::String &&value)
AWS_QUICKSIGHT_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue)
ThemeSummary & WithName(const char *value)
ThemeSummary & WithThemeId(Aws::String &&value)
ThemeSummary & WithArn(Aws::String &&value)
void SetThemeId(const Aws::String &value)
const Aws::String & GetName() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
ThemeSummary & WithThemeId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ThemeSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue