AWS SDK for C++  1.9.14
AWS SDK for C++
DisableSsoRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DisableSso"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
45 
49  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
50 
54  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
55 
59  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
60 
64  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
65 
69  inline DisableSsoRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
70 
74  inline DisableSsoRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
75 
79  inline DisableSsoRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
80 
81 
91  inline const Aws::String& GetUserName() const{ return m_userName; }
92 
102  inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
103 
113  inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
114 
124  inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
125 
135  inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
136 
146  inline DisableSsoRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
147 
157  inline DisableSsoRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
158 
168  inline DisableSsoRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
169 
170 
176  inline const Aws::String& GetPassword() const{ return m_password; }
177 
183  inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
184 
190  inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
191 
197  inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
198 
204  inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
205 
211  inline DisableSsoRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
212 
218  inline DisableSsoRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
219 
225  inline DisableSsoRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
226 
227  private:
228 
229  Aws::String m_directoryId;
230  bool m_directoryIdHasBeenSet;
231 
232  Aws::String m_userName;
233  bool m_userNameHasBeenSet;
234 
235  Aws::String m_password;
236  bool m_passwordHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace DirectoryService
241 } // namespace Aws
Aws::DirectoryService::Model::DisableSsoRequest::SetPassword
void SetPassword(const Aws::String &value)
Definition: DisableSsoRequest.h:190
Aws::DirectoryService::Model::DisableSsoRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: DisableSsoRequest.h:124
Aws::DirectoryService::Model::DisableSsoRequest::SetPassword
void SetPassword(Aws::String &&value)
Definition: DisableSsoRequest.h:197
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::DisableSsoRequest::PasswordHasBeenSet
bool PasswordHasBeenSet() const
Definition: DisableSsoRequest.h:183
Aws::DirectoryService::Model::DisableSsoRequest::WithPassword
DisableSsoRequest & WithPassword(Aws::String &&value)
Definition: DisableSsoRequest.h:218
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DisableSsoRequest::WithPassword
DisableSsoRequest & WithPassword(const char *value)
Definition: DisableSsoRequest.h:225
Aws::DirectoryService::Model::DisableSsoRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: DisableSsoRequest.h:113
Aws::DirectoryService::Model::DisableSsoRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DisableSsoRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DisableSsoRequest.h:44
Aws::DirectoryService::Model::DisableSsoRequest::SetUserName
void SetUserName(const char *value)
Definition: DisableSsoRequest.h:135
Aws::DirectoryService::Model::DisableSsoRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisableSsoRequest.h:34
Aws::DirectoryService::Model::DisableSsoRequest::DisableSsoRequest
DisableSsoRequest()
Aws::DirectoryService::Model::DisableSsoRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DisableSsoRequest.h:64
Aws::DirectoryService::Model::DisableSsoRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DisableSsoRequest.h:49
Aws::DirectoryService::Model::DisableSsoRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DisableSsoRequest::GetPassword
const Aws::String & GetPassword() const
Definition: DisableSsoRequest.h:176
Aws::DirectoryService::Model::DisableSsoRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: DisableSsoRequest.h:102
Aws::DirectoryService::Model::DisableSsoRequest::WithUserName
DisableSsoRequest & WithUserName(Aws::String &&value)
Definition: DisableSsoRequest.h:157
Aws::DirectoryService::Model::DisableSsoRequest::WithUserName
DisableSsoRequest & WithUserName(const char *value)
Definition: DisableSsoRequest.h:168
AWSString.h
Aws::DirectoryService::Model::DisableSsoRequest::GetUserName
const Aws::String & GetUserName() const
Definition: DisableSsoRequest.h:91
Aws::DirectoryService::Model::DisableSsoRequest::WithUserName
DisableSsoRequest & WithUserName(const Aws::String &value)
Definition: DisableSsoRequest.h:146
Aws::DirectoryService::Model::DisableSsoRequest::WithDirectoryId
DisableSsoRequest & WithDirectoryId(const char *value)
Definition: DisableSsoRequest.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DisableSsoRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DisableSsoRequest.h:59
Aws::DirectoryService::Model::DisableSsoRequest::SetPassword
void SetPassword(const char *value)
Definition: DisableSsoRequest.h:204
Aws::DirectoryService::Model::DisableSsoRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DisableSsoRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DisableSsoRequest::WithDirectoryId
DisableSsoRequest & WithDirectoryId(const Aws::String &value)
Definition: DisableSsoRequest.h:69
Aws::DirectoryService::Model::DisableSsoRequest::WithPassword
DisableSsoRequest & WithPassword(const Aws::String &value)
Definition: DisableSsoRequest.h:211
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DisableSsoRequest::WithDirectoryId
DisableSsoRequest & WithDirectoryId(Aws::String &&value)
Definition: DisableSsoRequest.h:74
Aws::DirectoryService::Model::DisableSsoRequest
Definition: DisableSsoRequest.h:26