AWS SDK for C++  1.9.68
AWS SDK for C++
RegisterClientRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SSOOIDC
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "RegisterClient"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetClientName() const{ return m_clientName; }
40 
44  inline bool ClientNameHasBeenSet() const { return m_clientNameHasBeenSet; }
45 
49  inline void SetClientName(const Aws::String& value) { m_clientNameHasBeenSet = true; m_clientName = value; }
50 
54  inline void SetClientName(Aws::String&& value) { m_clientNameHasBeenSet = true; m_clientName = std::move(value); }
55 
59  inline void SetClientName(const char* value) { m_clientNameHasBeenSet = true; m_clientName.assign(value); }
60 
64  inline RegisterClientRequest& WithClientName(const Aws::String& value) { SetClientName(value); return *this;}
65 
69  inline RegisterClientRequest& WithClientName(Aws::String&& value) { SetClientName(std::move(value)); return *this;}
70 
74  inline RegisterClientRequest& WithClientName(const char* value) { SetClientName(value); return *this;}
75 
76 
81  inline const Aws::String& GetClientType() const{ return m_clientType; }
82 
87  inline bool ClientTypeHasBeenSet() const { return m_clientTypeHasBeenSet; }
88 
93  inline void SetClientType(const Aws::String& value) { m_clientTypeHasBeenSet = true; m_clientType = value; }
94 
99  inline void SetClientType(Aws::String&& value) { m_clientTypeHasBeenSet = true; m_clientType = std::move(value); }
100 
105  inline void SetClientType(const char* value) { m_clientTypeHasBeenSet = true; m_clientType.assign(value); }
106 
111  inline RegisterClientRequest& WithClientType(const Aws::String& value) { SetClientType(value); return *this;}
112 
117  inline RegisterClientRequest& WithClientType(Aws::String&& value) { SetClientType(std::move(value)); return *this;}
118 
123  inline RegisterClientRequest& WithClientType(const char* value) { SetClientType(value); return *this;}
124 
125 
130  inline const Aws::Vector<Aws::String>& GetScopes() const{ return m_scopes; }
131 
136  inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
137 
142  inline void SetScopes(const Aws::Vector<Aws::String>& value) { m_scopesHasBeenSet = true; m_scopes = value; }
143 
148  inline void SetScopes(Aws::Vector<Aws::String>&& value) { m_scopesHasBeenSet = true; m_scopes = std::move(value); }
149 
154  inline RegisterClientRequest& WithScopes(const Aws::Vector<Aws::String>& value) { SetScopes(value); return *this;}
155 
160  inline RegisterClientRequest& WithScopes(Aws::Vector<Aws::String>&& value) { SetScopes(std::move(value)); return *this;}
161 
166  inline RegisterClientRequest& AddScopes(const Aws::String& value) { m_scopesHasBeenSet = true; m_scopes.push_back(value); return *this; }
167 
172  inline RegisterClientRequest& AddScopes(Aws::String&& value) { m_scopesHasBeenSet = true; m_scopes.push_back(std::move(value)); return *this; }
173 
178  inline RegisterClientRequest& AddScopes(const char* value) { m_scopesHasBeenSet = true; m_scopes.push_back(value); return *this; }
179 
180  private:
181 
182  Aws::String m_clientName;
183  bool m_clientNameHasBeenSet;
184 
185  Aws::String m_clientType;
186  bool m_clientTypeHasBeenSet;
187 
188  Aws::Vector<Aws::String> m_scopes;
189  bool m_scopesHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace SSOOIDC
194 } // namespace Aws
AWS_SSOOIDC_API
#define AWS_SSOOIDC_API
Definition: SSOOIDC_EXPORTS.h:28
Aws::SSOOIDC::Model::RegisterClientRequest::AddScopes
RegisterClientRequest & AddScopes(const char *value)
Definition: RegisterClientRequest.h:178
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientName
RegisterClientRequest & WithClientName(const Aws::String &value)
Definition: RegisterClientRequest.h:64
SSOOIDC_EXPORTS.h
Aws::SSOOIDC::SSOOIDCRequest
Definition: SSOOIDCRequest.h:17
Aws::SSOOIDC::Model::RegisterClientRequest::ClientNameHasBeenSet
bool ClientNameHasBeenSet() const
Definition: RegisterClientRequest.h:44
Aws::SSOOIDC::Model::RegisterClientRequest::AddScopes
RegisterClientRequest & AddScopes(Aws::String &&value)
Definition: RegisterClientRequest.h:172
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientName
void SetClientName(Aws::String &&value)
Definition: RegisterClientRequest.h:54
AWSVector.h
Aws::SSOOIDC::Model::RegisterClientRequest::SetScopes
void SetScopes(const Aws::Vector< Aws::String > &value)
Definition: RegisterClientRequest.h:142
Aws::SSOOIDC::Model::RegisterClientRequest::RegisterClientRequest
RegisterClientRequest()
SSOOIDCRequest.h
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientName
RegisterClientRequest & WithClientName(const char *value)
Definition: RegisterClientRequest.h:74
Aws::SSOOIDC::Model::RegisterClientRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterClientRequest.h:31
Aws::SSOOIDC::Model::RegisterClientRequest
Definition: RegisterClientRequest.h:23
Aws::SSOOIDC::Model::RegisterClientRequest::ScopesHasBeenSet
bool ScopesHasBeenSet() const
Definition: RegisterClientRequest.h:136
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientType
RegisterClientRequest & WithClientType(Aws::String &&value)
Definition: RegisterClientRequest.h:117
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientName
RegisterClientRequest & WithClientName(Aws::String &&value)
Definition: RegisterClientRequest.h:69
AWSString.h
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientName
void SetClientName(const char *value)
Definition: RegisterClientRequest.h:59
Aws::SSOOIDC::Model::RegisterClientRequest::GetClientType
const Aws::String & GetClientType() const
Definition: RegisterClientRequest.h:81
Aws::SSOOIDC::Model::RegisterClientRequest::SetScopes
void SetScopes(Aws::Vector< Aws::String > &&value)
Definition: RegisterClientRequest.h:148
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientType
void SetClientType(const Aws::String &value)
Definition: RegisterClientRequest.h:93
Aws::SSOOIDC::Model::RegisterClientRequest::GetClientName
const Aws::String & GetClientName() const
Definition: RegisterClientRequest.h:39
Aws::SSOOIDC::Model::RegisterClientRequest::GetScopes
const Aws::Vector< Aws::String > & GetScopes() const
Definition: RegisterClientRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::SSOOIDC::Model::RegisterClientRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOOIDC::Model::RegisterClientRequest::WithScopes
RegisterClientRequest & WithScopes(Aws::Vector< Aws::String > &&value)
Definition: RegisterClientRequest.h:160
Aws::SSOOIDC::Model::RegisterClientRequest::AddScopes
RegisterClientRequest & AddScopes(const Aws::String &value)
Definition: RegisterClientRequest.h:166
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientType
void SetClientType(Aws::String &&value)
Definition: RegisterClientRequest.h:99
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientType
RegisterClientRequest & WithClientType(const Aws::String &value)
Definition: RegisterClientRequest.h:111
Aws::SSOOIDC::Model::RegisterClientRequest::WithClientType
RegisterClientRequest & WithClientType(const char *value)
Definition: RegisterClientRequest.h:123
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOOIDC::Model::RegisterClientRequest::WithScopes
RegisterClientRequest & WithScopes(const Aws::Vector< Aws::String > &value)
Definition: RegisterClientRequest.h:154
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientName
void SetClientName(const Aws::String &value)
Definition: RegisterClientRequest.h:49
Aws::SSOOIDC::Model::RegisterClientRequest::SetClientType
void SetClientType(const char *value)
Definition: RegisterClientRequest.h:105
Aws::SSOOIDC::Model::RegisterClientRequest::ClientTypeHasBeenSet
bool ClientTypeHasBeenSet() const
Definition: RegisterClientRequest.h:87