AWS SDK for C++  1.9.97
AWS SDK for C++
SAMLOptionsOutput.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/es/model/SAMLIdp.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline bool GetEnabled() const{ return m_enabled; }
46 
50  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 
55  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
56 
60  inline SAMLOptionsOutput& WithEnabled(bool value) { SetEnabled(value); return *this;}
61 
62 
66  inline const SAMLIdp& GetIdp() const{ return m_idp; }
67 
71  inline bool IdpHasBeenSet() const { return m_idpHasBeenSet; }
72 
76  inline void SetIdp(const SAMLIdp& value) { m_idpHasBeenSet = true; m_idp = value; }
77 
81  inline void SetIdp(SAMLIdp&& value) { m_idpHasBeenSet = true; m_idp = std::move(value); }
82 
86  inline SAMLOptionsOutput& WithIdp(const SAMLIdp& value) { SetIdp(value); return *this;}
87 
91  inline SAMLOptionsOutput& WithIdp(SAMLIdp&& value) { SetIdp(std::move(value)); return *this;}
92 
93 
97  inline const Aws::String& GetSubjectKey() const{ return m_subjectKey; }
98 
102  inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
103 
107  inline void SetSubjectKey(const Aws::String& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
108 
112  inline void SetSubjectKey(Aws::String&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
113 
117  inline void SetSubjectKey(const char* value) { m_subjectKeyHasBeenSet = true; m_subjectKey.assign(value); }
118 
122  inline SAMLOptionsOutput& WithSubjectKey(const Aws::String& value) { SetSubjectKey(value); return *this;}
123 
127  inline SAMLOptionsOutput& WithSubjectKey(Aws::String&& value) { SetSubjectKey(std::move(value)); return *this;}
128 
132  inline SAMLOptionsOutput& WithSubjectKey(const char* value) { SetSubjectKey(value); return *this;}
133 
134 
138  inline const Aws::String& GetRolesKey() const{ return m_rolesKey; }
139 
143  inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
144 
148  inline void SetRolesKey(const Aws::String& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
149 
153  inline void SetRolesKey(Aws::String&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
154 
158  inline void SetRolesKey(const char* value) { m_rolesKeyHasBeenSet = true; m_rolesKey.assign(value); }
159 
163  inline SAMLOptionsOutput& WithRolesKey(const Aws::String& value) { SetRolesKey(value); return *this;}
164 
168  inline SAMLOptionsOutput& WithRolesKey(Aws::String&& value) { SetRolesKey(std::move(value)); return *this;}
169 
173  inline SAMLOptionsOutput& WithRolesKey(const char* value) { SetRolesKey(value); return *this;}
174 
175 
179  inline int GetSessionTimeoutMinutes() const{ return m_sessionTimeoutMinutes; }
180 
184  inline bool SessionTimeoutMinutesHasBeenSet() const { return m_sessionTimeoutMinutesHasBeenSet; }
185 
189  inline void SetSessionTimeoutMinutes(int value) { m_sessionTimeoutMinutesHasBeenSet = true; m_sessionTimeoutMinutes = value; }
190 
194  inline SAMLOptionsOutput& WithSessionTimeoutMinutes(int value) { SetSessionTimeoutMinutes(value); return *this;}
195 
196  private:
197 
198  bool m_enabled;
199  bool m_enabledHasBeenSet;
200 
201  SAMLIdp m_idp;
202  bool m_idpHasBeenSet;
203 
204  Aws::String m_subjectKey;
205  bool m_subjectKeyHasBeenSet;
206 
207  Aws::String m_rolesKey;
208  bool m_rolesKeyHasBeenSet;
209 
210  int m_sessionTimeoutMinutes;
211  bool m_sessionTimeoutMinutesHasBeenSet;
212  };
213 
214 } // namespace Model
215 } // namespace ElasticsearchService
216 } // namespace Aws
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithIdp
SAMLOptionsOutput & WithIdp(const SAMLIdp &value)
Definition: SAMLOptionsOutput.h:86
Aws::ElasticsearchService::Model::SAMLOptionsOutput::IdpHasBeenSet
bool IdpHasBeenSet() const
Definition: SAMLOptionsOutput.h:71
Aws::ElasticsearchService::Model::SAMLOptionsOutput::RolesKeyHasBeenSet
bool RolesKeyHasBeenSet() const
Definition: SAMLOptionsOutput.h:143
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SessionTimeoutMinutesHasBeenSet
bool SessionTimeoutMinutesHasBeenSet() const
Definition: SAMLOptionsOutput.h:184
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetIdp
void SetIdp(const SAMLIdp &value)
Definition: SAMLOptionsOutput.h:76
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SubjectKeyHasBeenSet
bool SubjectKeyHasBeenSet() const
Definition: SAMLOptionsOutput.h:102
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithRolesKey
SAMLOptionsOutput & WithRolesKey(const Aws::String &value)
Definition: SAMLOptionsOutput.h:163
Aws::ElasticsearchService::Model::SAMLOptionsOutput::GetIdp
const SAMLIdp & GetIdp() const
Definition: SAMLOptionsOutput.h:66
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetSubjectKey
void SetSubjectKey(Aws::String &&value)
Definition: SAMLOptionsOutput.h:112
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithRolesKey
SAMLOptionsOutput & WithRolesKey(Aws::String &&value)
Definition: SAMLOptionsOutput.h:168
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetRolesKey
void SetRolesKey(Aws::String &&value)
Definition: SAMLOptionsOutput.h:153
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetRolesKey
void SetRolesKey(const char *value)
Definition: SAMLOptionsOutput.h:158
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetIdp
void SetIdp(SAMLIdp &&value)
Definition: SAMLOptionsOutput.h:81
SAMLIdp.h
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetRolesKey
void SetRolesKey(const Aws::String &value)
Definition: SAMLOptionsOutput.h:148
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::SAMLOptionsOutput::GetEnabled
bool GetEnabled() const
Definition: SAMLOptionsOutput.h:45
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SAMLOptionsOutput
SAMLOptionsOutput()
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithSubjectKey
SAMLOptionsOutput & WithSubjectKey(const char *value)
Definition: SAMLOptionsOutput.h:132
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithIdp
SAMLOptionsOutput & WithIdp(SAMLIdp &&value)
Definition: SAMLOptionsOutput.h:91
Aws::ElasticsearchService::Model::SAMLOptionsOutput
Definition: SAMLOptionsOutput.h:34
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithSessionTimeoutMinutes
SAMLOptionsOutput & WithSessionTimeoutMinutes(int value)
Definition: SAMLOptionsOutput.h:194
Aws::ElasticsearchService::Model::SAMLOptionsOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetEnabled
void SetEnabled(bool value)
Definition: SAMLOptionsOutput.h:55
Aws::ElasticsearchService::Model::SAMLIdp
Definition: SAMLIdp.h:32
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithSubjectKey
SAMLOptionsOutput & WithSubjectKey(Aws::String &&value)
Definition: SAMLOptionsOutput.h:127
Aws::ElasticsearchService::Model::SAMLOptionsOutput::GetSubjectKey
const Aws::String & GetSubjectKey() const
Definition: SAMLOptionsOutput.h:97
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::SAMLOptionsOutput::operator=
SAMLOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::SAMLOptionsOutput::GetRolesKey
const Aws::String & GetRolesKey() const
Definition: SAMLOptionsOutput.h:138
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithEnabled
SAMLOptionsOutput & WithEnabled(bool value)
Definition: SAMLOptionsOutput.h:60
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SAMLOptionsOutput
SAMLOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetSessionTimeoutMinutes
void SetSessionTimeoutMinutes(int value)
Definition: SAMLOptionsOutput.h:189
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithRolesKey
SAMLOptionsOutput & WithRolesKey(const char *value)
Definition: SAMLOptionsOutput.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::SAMLOptionsOutput::GetSessionTimeoutMinutes
int GetSessionTimeoutMinutes() const
Definition: SAMLOptionsOutput.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::SAMLOptionsOutput::WithSubjectKey
SAMLOptionsOutput & WithSubjectKey(const Aws::String &value)
Definition: SAMLOptionsOutput.h:122
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetSubjectKey
void SetSubjectKey(const char *value)
Definition: SAMLOptionsOutput.h:117
Aws::ElasticsearchService::Model::SAMLOptionsOutput::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: SAMLOptionsOutput.h:50
Aws::ElasticsearchService::Model::SAMLOptionsOutput::SetSubjectKey
void SetSubjectKey(const Aws::String &value)
Definition: SAMLOptionsOutput.h:107