AWS SDK for C++  0.12.9
AWS SDK for C++
AdminDeleteUserAttributesRequest.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
20 
21 namespace Aws
22 {
23 namespace CognitoIdentityProvider
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
44 
49  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
50 
55  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
56 
61  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
62 
67  inline AdminDeleteUserAttributesRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
68 
73  inline AdminDeleteUserAttributesRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(value); return *this;}
74 
79  inline AdminDeleteUserAttributesRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
80 
84  inline const Aws::String& GetUsername() const{ return m_username; }
85 
89  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
90 
94  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = value; }
95 
99  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
100 
104  inline AdminDeleteUserAttributesRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
105 
109  inline AdminDeleteUserAttributesRequest& WithUsername(Aws::String&& value) { SetUsername(value); return *this;}
110 
114  inline AdminDeleteUserAttributesRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
115 
120  inline const Aws::Vector<Aws::String>& GetUserAttributeNames() const{ return m_userAttributeNames; }
121 
126  inline void SetUserAttributeNames(const Aws::Vector<Aws::String>& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = value; }
127 
132  inline void SetUserAttributeNames(Aws::Vector<Aws::String>&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames = value; }
133 
138  inline AdminDeleteUserAttributesRequest& WithUserAttributeNames(const Aws::Vector<Aws::String>& value) { SetUserAttributeNames(value); return *this;}
139 
144  inline AdminDeleteUserAttributesRequest& WithUserAttributeNames(Aws::Vector<Aws::String>&& value) { SetUserAttributeNames(value); return *this;}
145 
150  inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(const Aws::String& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
151 
156  inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(Aws::String&& value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
157 
162  inline AdminDeleteUserAttributesRequest& AddUserAttributeNames(const char* value) { m_userAttributeNamesHasBeenSet = true; m_userAttributeNames.push_back(value); return *this; }
163 
164  private:
165  Aws::String m_userPoolId;
166  bool m_userPoolIdHasBeenSet;
167  Aws::String m_username;
168  bool m_usernameHasBeenSet;
169  Aws::Vector<Aws::String> m_userAttributeNames;
170  bool m_userAttributeNamesHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace CognitoIdentityProvider
175 } // namespace Aws
AdminDeleteUserAttributesRequest & WithUsername(const Aws::String &value)
AdminDeleteUserAttributesRequest & AddUserAttributeNames(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
AdminDeleteUserAttributesRequest & AddUserAttributeNames(const char *value)
AdminDeleteUserAttributesRequest & WithUserPoolId(Aws::String &&value)
AdminDeleteUserAttributesRequest & WithUserPoolId(const Aws::String &value)
#define AWS_COGNITOIDENTITYPROVIDER_API
AdminDeleteUserAttributesRequest & AddUserAttributeNames(const Aws::String &value)
AdminDeleteUserAttributesRequest & WithUserAttributeNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AdminDeleteUserAttributesRequest & WithUserAttributeNames(Aws::Vector< Aws::String > &&value)
JSON (JavaScript Object Notation).