AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UserPoolClientDescription.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CognitoIdentityProvider {
20namespace Model {
21
28 public:
29 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription() = default;
30 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription(Aws::Utils::Json::JsonView jsonValue);
31 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetClientId() const { return m_clientId; }
39 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
40 template <typename ClientIdT = Aws::String>
41 void SetClientId(ClientIdT&& value) {
42 m_clientIdHasBeenSet = true;
43 m_clientId = std::forward<ClientIdT>(value);
44 }
45 template <typename ClientIdT = Aws::String>
47 SetClientId(std::forward<ClientIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
57 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
58 template <typename UserPoolIdT = Aws::String>
59 void SetUserPoolId(UserPoolIdT&& value) {
60 m_userPoolIdHasBeenSet = true;
61 m_userPoolId = std::forward<UserPoolIdT>(value);
62 }
63 template <typename UserPoolIdT = Aws::String>
65 SetUserPoolId(std::forward<UserPoolIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetClientName() const { return m_clientName; }
75 inline bool ClientNameHasBeenSet() const { return m_clientNameHasBeenSet; }
76 template <typename ClientNameT = Aws::String>
77 void SetClientName(ClientNameT&& value) {
78 m_clientNameHasBeenSet = true;
79 m_clientName = std::forward<ClientNameT>(value);
80 }
81 template <typename ClientNameT = Aws::String>
83 SetClientName(std::forward<ClientNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_clientId;
89
90 Aws::String m_userPoolId;
91
92 Aws::String m_clientName;
93 bool m_clientIdHasBeenSet = false;
94 bool m_userPoolIdHasBeenSet = false;
95 bool m_clientNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace CognitoIdentityProvider
100} // namespace Aws
AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const
UserPoolClientDescription & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
UserPoolClientDescription & WithClientName(ClientNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue