AWS SDK for C++  0.12.9
AWS SDK for C++
UserPoolClientDescription.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace CognitoIdentityProvider
29 {
30 namespace Model
31 {
32 
37  {
38  public:
41  UserPoolClientDescription& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline const Aws::String& GetClientId() const{ return m_clientId; }
48 
52  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
53 
57  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
58 
62  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
63 
67  inline UserPoolClientDescription& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
68 
72  inline UserPoolClientDescription& WithClientId(Aws::String&& value) { SetClientId(value); return *this;}
73 
77  inline UserPoolClientDescription& WithClientId(const char* value) { SetClientId(value); return *this;}
78 
83  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
84 
89  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
90 
95  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
96 
101  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
102 
107  inline UserPoolClientDescription& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
108 
113  inline UserPoolClientDescription& WithUserPoolId(Aws::String&& value) { SetUserPoolId(value); return *this;}
114 
119  inline UserPoolClientDescription& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
120 
124  inline const Aws::String& GetClientName() const{ return m_clientName; }
125 
129  inline void SetClientName(const Aws::String& value) { m_clientNameHasBeenSet = true; m_clientName = value; }
130 
134  inline void SetClientName(Aws::String&& value) { m_clientNameHasBeenSet = true; m_clientName = value; }
135 
139  inline void SetClientName(const char* value) { m_clientNameHasBeenSet = true; m_clientName.assign(value); }
140 
144  inline UserPoolClientDescription& WithClientName(const Aws::String& value) { SetClientName(value); return *this;}
145 
149  inline UserPoolClientDescription& WithClientName(Aws::String&& value) { SetClientName(value); return *this;}
150 
154  inline UserPoolClientDescription& WithClientName(const char* value) { SetClientName(value); return *this;}
155 
156  private:
157  Aws::String m_clientId;
158  bool m_clientIdHasBeenSet;
159  Aws::String m_userPoolId;
160  bool m_userPoolIdHasBeenSet;
161  Aws::String m_clientName;
162  bool m_clientNameHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace CognitoIdentityProvider
167 } // namespace Aws
UserPoolClientDescription & WithUserPoolId(const Aws::String &value)
UserPoolClientDescription & WithUserPoolId(const char *value)
UserPoolClientDescription & WithClientId(const char *value)
UserPoolClientDescription & WithClientName(Aws::String &&value)
UserPoolClientDescription & WithClientName(const char *value)
#define AWS_COGNITOIDENTITYPROVIDER_API
UserPoolClientDescription & WithClientId(Aws::String &&value)
UserPoolClientDescription & WithClientId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UserPoolClientDescription & WithClientName(const Aws::String &value)
JSON (JavaScript Object Notation).
UserPoolClientDescription & WithUserPoolId(Aws::String &&value)