AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
OAuthClientApplicationSummary.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/DataSourceType.h>
11#include <aws/quicksight/model/OAuthClientAuthenticationType.h>
12#include <aws/quicksight/model/VpcConnectionProperties.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
32 public:
33 AWS_QUICKSIGHT_API OAuthClientApplicationSummary() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetOAuthClientApplicationId() const { return m_oAuthClientApplicationId; }
44 inline bool OAuthClientApplicationIdHasBeenSet() const { return m_oAuthClientApplicationIdHasBeenSet; }
45 template <typename OAuthClientApplicationIdT = Aws::String>
46 void SetOAuthClientApplicationId(OAuthClientApplicationIdT&& value) {
47 m_oAuthClientApplicationIdHasBeenSet = true;
48 m_oAuthClientApplicationId = std::forward<OAuthClientApplicationIdT>(value);
49 }
50 template <typename OAuthClientApplicationIdT = Aws::String>
51 OAuthClientApplicationSummary& WithOAuthClientApplicationId(OAuthClientApplicationIdT&& value) {
52 SetOAuthClientApplicationId(std::forward<OAuthClientApplicationIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
80 inline OAuthClientAuthenticationType GetOAuthClientAuthenticationType() const { return m_oAuthClientAuthenticationType; }
81 inline bool OAuthClientAuthenticationTypeHasBeenSet() const { return m_oAuthClientAuthenticationTypeHasBeenSet; }
83 m_oAuthClientAuthenticationTypeHasBeenSet = true;
84 m_oAuthClientAuthenticationType = value;
85 }
88 return *this;
89 }
91
93
97 inline DataSourceType GetDataSourceType() const { return m_dataSourceType; }
98 inline bool DataSourceTypeHasBeenSet() const { return m_dataSourceTypeHasBeenSet; }
99 inline void SetDataSourceType(DataSourceType value) {
100 m_dataSourceTypeHasBeenSet = true;
101 m_dataSourceType = value;
102 }
104 SetDataSourceType(value);
105 return *this;
106 }
108
110
112 return m_identityProviderVpcConnectionProperties;
113 }
114 inline bool IdentityProviderVpcConnectionPropertiesHasBeenSet() const { return m_identityProviderVpcConnectionPropertiesHasBeenSet; }
115 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
116 void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
117 m_identityProviderVpcConnectionPropertiesHasBeenSet = true;
118 m_identityProviderVpcConnectionProperties = std::forward<IdentityProviderVpcConnectionPropertiesT>(value);
119 }
120 template <typename IdentityProviderVpcConnectionPropertiesT = VpcConnectionProperties>
121 OAuthClientApplicationSummary& WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT&& value) {
122 SetIdentityProviderVpcConnectionProperties(std::forward<IdentityProviderVpcConnectionPropertiesT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
132 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
133 template <typename CreatedTimeT = Aws::Utils::DateTime>
134 void SetCreatedTime(CreatedTimeT&& value) {
135 m_createdTimeHasBeenSet = true;
136 m_createdTime = std::forward<CreatedTimeT>(value);
137 }
138 template <typename CreatedTimeT = Aws::Utils::DateTime>
140 SetCreatedTime(std::forward<CreatedTimeT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
150 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
151 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
152 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
153 m_lastUpdatedTimeHasBeenSet = true;
154 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
155 }
156 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
158 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetArn() const { return m_arn; }
168 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
169 template <typename ArnT = Aws::String>
170 void SetArn(ArnT&& value) {
171 m_arnHasBeenSet = true;
172 m_arn = std::forward<ArnT>(value);
173 }
174 template <typename ArnT = Aws::String>
176 SetArn(std::forward<ArnT>(value));
177 return *this;
178 }
180 private:
181 Aws::String m_oAuthClientApplicationId;
182
183 Aws::String m_name;
184
186
187 DataSourceType m_dataSourceType{DataSourceType::NOT_SET};
188
189 VpcConnectionProperties m_identityProviderVpcConnectionProperties;
190
191 Aws::Utils::DateTime m_createdTime{};
192
193 Aws::Utils::DateTime m_lastUpdatedTime{};
194
195 Aws::String m_arn;
196 bool m_oAuthClientApplicationIdHasBeenSet = false;
197 bool m_nameHasBeenSet = false;
198 bool m_oAuthClientAuthenticationTypeHasBeenSet = false;
199 bool m_dataSourceTypeHasBeenSet = false;
200 bool m_identityProviderVpcConnectionPropertiesHasBeenSet = false;
201 bool m_createdTimeHasBeenSet = false;
202 bool m_lastUpdatedTimeHasBeenSet = false;
203 bool m_arnHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace QuickSight
208} // namespace Aws
OAuthClientApplicationSummary & WithDataSourceType(DataSourceType value)
AWS_QUICKSIGHT_API OAuthClientApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
OAuthClientApplicationSummary & WithName(NameT &&value)
void SetIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
OAuthClientApplicationSummary & WithOAuthClientAuthenticationType(OAuthClientAuthenticationType value)
AWS_QUICKSIGHT_API OAuthClientApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcConnectionProperties & GetIdentityProviderVpcConnectionProperties() const
OAuthClientApplicationSummary & WithIdentityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesT &&value)
OAuthClientApplicationSummary & WithOAuthClientApplicationId(OAuthClientApplicationIdT &&value)
OAuthClientApplicationSummary & WithCreatedTime(CreatedTimeT &&value)
OAuthClientApplicationSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetOAuthClientAuthenticationType(OAuthClientAuthenticationType value)
AWS_QUICKSIGHT_API OAuthClientApplicationSummary()=default
OAuthClientAuthenticationType GetOAuthClientAuthenticationType() const
void SetOAuthClientApplicationId(OAuthClientApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue