AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CognitoIdentityProvider
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription() = default;
35 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COGNITOIDENTITYPROVIDER_API UserPoolClientDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetClientId() const { return m_clientId; }
45 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
46 template<typename ClientIdT = Aws::String>
47 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
48 template<typename ClientIdT = Aws::String>
49 UserPoolClientDescription& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
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) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
60 template<typename UserPoolIdT = Aws::String>
61 UserPoolClientDescription& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetClientName() const { return m_clientName; }
69 inline bool ClientNameHasBeenSet() const { return m_clientNameHasBeenSet; }
70 template<typename ClientNameT = Aws::String>
71 void SetClientName(ClientNameT&& value) { m_clientNameHasBeenSet = true; m_clientName = std::forward<ClientNameT>(value); }
72 template<typename ClientNameT = Aws::String>
73 UserPoolClientDescription& WithClientName(ClientNameT&& value) { SetClientName(std::forward<ClientNameT>(value)); return *this;}
75 private:
76
77 Aws::String m_clientId;
78 bool m_clientIdHasBeenSet = false;
79
80 Aws::String m_userPoolId;
81 bool m_userPoolIdHasBeenSet = false;
82
83 Aws::String m_clientName;
84 bool m_clientNameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CognitoIdentityProvider
89} // 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