AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 ThemeSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 ThemeSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
70 inline const Aws::String& GetThemeId() const { return m_themeId; }
71 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
72 template<typename ThemeIdT = Aws::String>
73 void SetThemeId(ThemeIdT&& value) { m_themeIdHasBeenSet = true; m_themeId = std::forward<ThemeIdT>(value); }
74 template<typename ThemeIdT = Aws::String>
75 ThemeSummary& WithThemeId(ThemeIdT&& value) { SetThemeId(std::forward<ThemeIdT>(value)); return *this;}
77
79
82 inline long long GetLatestVersionNumber() const { return m_latestVersionNumber; }
83 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
84 inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
85 inline ThemeSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
93 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
94 template<typename CreatedTimeT = Aws::Utils::DateTime>
95 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
96 template<typename CreatedTimeT = Aws::Utils::DateTime>
97 ThemeSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
105 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
106 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
107 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
108 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
109 ThemeSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_themeId;
120 bool m_themeIdHasBeenSet = false;
121
122 long long m_latestVersionNumber{0};
123 bool m_latestVersionNumberHasBeenSet = false;
124
125 Aws::Utils::DateTime m_createdTime{};
126 bool m_createdTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedTime{};
129 bool m_lastUpdatedTimeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace QuickSight
134} // namespace Aws
ThemeSummary & WithArn(ArnT &&value)
ThemeSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ThemeSummary & WithLatestVersionNumber(long long value)
ThemeSummary & WithThemeId(ThemeIdT &&value)
AWS_QUICKSIGHT_API ThemeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThemeId(ThemeIdT &&value)
ThemeSummary & WithCreatedTime(CreatedTimeT &&value)
void SetLatestVersionNumber(long long value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetArn() const
const Aws::String & GetThemeId() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_QUICKSIGHT_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ThemeSummary & WithName(NameT &&value)
AWS_QUICKSIGHT_API ThemeSummary()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue