AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
AppSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AppVisibility.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API AppSummary() = default;
33 AWS_QUICKSIGHT_API AppSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API AppSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAppId() const { return m_appId; }
42 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
43 template <typename AppIdT = Aws::String>
44 void SetAppId(AppIdT&& value) {
45 m_appIdHasBeenSet = true;
46 m_appId = std::forward<AppIdT>(value);
47 }
48 template <typename AppIdT = Aws::String>
49 AppSummary& WithAppId(AppIdT&& value) {
50 SetAppId(std::forward<AppIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
67 AppSummary& WithArn(ArnT&& value) {
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 AppSummary& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
96 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
97 template <typename CreatedTimeT = Aws::Utils::DateTime>
98 void SetCreatedTime(CreatedTimeT&& value) {
99 m_createdTimeHasBeenSet = true;
100 m_createdTime = std::forward<CreatedTimeT>(value);
101 }
102 template <typename CreatedTimeT = Aws::Utils::DateTime>
103 AppSummary& WithCreatedTime(CreatedTimeT&& value) {
104 SetCreatedTime(std::forward<CreatedTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
114 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
115 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
116 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
117 m_lastUpdatedTimeHasBeenSet = true;
118 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
119 }
120 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
121 AppSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
122 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
123 return *this;
124 }
126
128
132 inline AppVisibility GetVisibility() const { return m_visibility; }
133 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
134 inline void SetVisibility(AppVisibility value) {
135 m_visibilityHasBeenSet = true;
136 m_visibility = value;
137 }
139 SetVisibility(value);
140 return *this;
141 }
143 private:
144 Aws::String m_appId;
145
146 Aws::String m_arn;
147
148 Aws::String m_name;
149
150 Aws::Utils::DateTime m_createdTime{};
151
152 Aws::Utils::DateTime m_lastUpdatedTime{};
153
155 bool m_appIdHasBeenSet = false;
156 bool m_arnHasBeenSet = false;
157 bool m_nameHasBeenSet = false;
158 bool m_createdTimeHasBeenSet = false;
159 bool m_lastUpdatedTimeHasBeenSet = false;
160 bool m_visibilityHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace QuickSight
165} // namespace Aws
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition AppSummary.h:116
const Aws::String & GetAppId() const
Definition AppSummary.h:41
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition AppSummary.h:113
AWS_QUICKSIGHT_API AppSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSummary & WithVisibility(AppVisibility value)
Definition AppSummary.h:138
AppSummary & WithAppId(AppIdT &&value)
Definition AppSummary.h:49
const Aws::Utils::DateTime & GetCreatedTime() const
Definition AppSummary.h:95
void SetCreatedTime(CreatedTimeT &&value)
Definition AppSummary.h:98
AppSummary & WithName(NameT &&value)
Definition AppSummary.h:85
void SetAppId(AppIdT &&value)
Definition AppSummary.h:44
AWS_QUICKSIGHT_API AppSummary()=default
const Aws::String & GetArn() const
Definition AppSummary.h:59
const Aws::String & GetName() const
Definition AppSummary.h:77
void SetVisibility(AppVisibility value)
Definition AppSummary.h:134
AppSummary & WithArn(ArnT &&value)
Definition AppSummary.h:67
AppVisibility GetVisibility() const
Definition AppSummary.h:132
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AppSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition AppSummary.h:121
AppSummary & WithCreatedTime(CreatedTimeT &&value)
Definition AppSummary.h:103
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue