AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DisableSsoRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DirectoryService {
15namespace Model {
16
24 public:
25 AWS_DIRECTORYSERVICE_API DisableSsoRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisableSso"; }
32
33 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
42 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
43 template <typename DirectoryIdT = Aws::String>
44 void SetDirectoryId(DirectoryIdT&& value) {
45 m_directoryIdHasBeenSet = true;
46 m_directoryId = std::forward<DirectoryIdT>(value);
47 }
48 template <typename DirectoryIdT = Aws::String>
49 DisableSsoRequest& WithDirectoryId(DirectoryIdT&& value) {
50 SetDirectoryId(std::forward<DirectoryIdT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::String& GetUserName() const { return m_userName; }
66 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
67 template <typename UserNameT = Aws::String>
68 void SetUserName(UserNameT&& value) {
69 m_userNameHasBeenSet = true;
70 m_userName = std::forward<UserNameT>(value);
71 }
72 template <typename UserNameT = Aws::String>
73 DisableSsoRequest& WithUserName(UserNameT&& value) {
74 SetUserName(std::forward<UserNameT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetPassword() const { return m_password; }
86 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
87 template <typename PasswordT = Aws::String>
88 void SetPassword(PasswordT&& value) {
89 m_passwordHasBeenSet = true;
90 m_password = std::forward<PasswordT>(value);
91 }
92 template <typename PasswordT = Aws::String>
93 DisableSsoRequest& WithPassword(PasswordT&& value) {
94 SetPassword(std::forward<PasswordT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_directoryId;
100
101 Aws::String m_userName;
102
103 Aws::String m_password;
104 bool m_directoryIdHasBeenSet = false;
105 bool m_userNameHasBeenSet = false;
106 bool m_passwordHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace DirectoryService
111} // namespace Aws
DisableSsoRequest & WithUserName(UserNameT &&value)
DisableSsoRequest & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DIRECTORYSERVICE_API DisableSsoRequest()=default
DisableSsoRequest & WithPassword(PasswordT &&value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String