AWS SDK for C++  0.14.3
AWS SDK for C++
CreateOpenIDConnectProviderRequest.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
16 #include <aws/iam/IAM_EXPORTS.h>
17 #include <aws/iam/IAMRequest.h>
20 
21 namespace Aws
22 {
23 namespace IAM
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
46  inline const Aws::String& GetUrl() const{ return m_url; }
47 
58  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
59 
70  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = value; }
71 
82  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
83 
94  inline CreateOpenIDConnectProviderRequest& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
95 
106  inline CreateOpenIDConnectProviderRequest& WithUrl(Aws::String&& value) { SetUrl(value); return *this;}
107 
118  inline CreateOpenIDConnectProviderRequest& WithUrl(const char* value) { SetUrl(value); return *this;}
119 
131  inline const Aws::Vector<Aws::String>& GetClientIDList() const{ return m_clientIDList; }
132 
144  inline void SetClientIDList(const Aws::Vector<Aws::String>& value) { m_clientIDListHasBeenSet = true; m_clientIDList = value; }
145 
157  inline void SetClientIDList(Aws::Vector<Aws::String>&& value) { m_clientIDListHasBeenSet = true; m_clientIDList = value; }
158 
170  inline CreateOpenIDConnectProviderRequest& WithClientIDList(const Aws::Vector<Aws::String>& value) { SetClientIDList(value); return *this;}
171 
183  inline CreateOpenIDConnectProviderRequest& WithClientIDList(Aws::Vector<Aws::String>&& value) { SetClientIDList(value); return *this;}
184 
196  inline CreateOpenIDConnectProviderRequest& AddClientIDList(const Aws::String& value) { m_clientIDListHasBeenSet = true; m_clientIDList.push_back(value); return *this; }
197 
209  inline CreateOpenIDConnectProviderRequest& AddClientIDList(Aws::String&& value) { m_clientIDListHasBeenSet = true; m_clientIDList.push_back(value); return *this; }
210 
222  inline CreateOpenIDConnectProviderRequest& AddClientIDList(const char* value) { m_clientIDListHasBeenSet = true; m_clientIDList.push_back(value); return *this; }
223 
242  inline const Aws::Vector<Aws::String>& GetThumbprintList() const{ return m_thumbprintList; }
243 
262  inline void SetThumbprintList(const Aws::Vector<Aws::String>& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList = value; }
263 
282  inline void SetThumbprintList(Aws::Vector<Aws::String>&& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList = value; }
283 
302  inline CreateOpenIDConnectProviderRequest& WithThumbprintList(const Aws::Vector<Aws::String>& value) { SetThumbprintList(value); return *this;}
303 
322  inline CreateOpenIDConnectProviderRequest& WithThumbprintList(Aws::Vector<Aws::String>&& value) { SetThumbprintList(value); return *this;}
323 
342  inline CreateOpenIDConnectProviderRequest& AddThumbprintList(const Aws::String& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
343 
362  inline CreateOpenIDConnectProviderRequest& AddThumbprintList(Aws::String&& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
363 
382  inline CreateOpenIDConnectProviderRequest& AddThumbprintList(const char* value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
383 
384  private:
385  Aws::String m_url;
386  bool m_urlHasBeenSet;
387  Aws::Vector<Aws::String> m_clientIDList;
388  bool m_clientIDListHasBeenSet;
389  Aws::Vector<Aws::String> m_thumbprintList;
390  bool m_thumbprintListHasBeenSet;
391  };
392 
393 } // namespace Model
394 } // namespace IAM
395 } // namespace Aws
CreateOpenIDConnectProviderRequest & AddClientIDList(Aws::String &&value)
CreateOpenIDConnectProviderRequest & WithClientIDList(Aws::Vector< Aws::String > &&value)
CreateOpenIDConnectProviderRequest & WithThumbprintList(const Aws::Vector< Aws::String > &value)
CreateOpenIDConnectProviderRequest & WithUrl(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
CreateOpenIDConnectProviderRequest & AddClientIDList(const Aws::String &value)
CreateOpenIDConnectProviderRequest & AddThumbprintList(const char *value)
CreateOpenIDConnectProviderRequest & WithClientIDList(const Aws::Vector< Aws::String > &value)
CreateOpenIDConnectProviderRequest & WithThumbprintList(Aws::Vector< Aws::String > &&value)
CreateOpenIDConnectProviderRequest & WithUrl(const char *value)
void SetThumbprintList(const Aws::Vector< Aws::String > &value)
CreateOpenIDConnectProviderRequest & AddClientIDList(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateOpenIDConnectProviderRequest & WithUrl(const Aws::String &value)
void SetClientIDList(const Aws::Vector< Aws::String > &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
CreateOpenIDConnectProviderRequest & AddThumbprintList(const Aws::String &value)
JSON (JavaScript Object Notation).
CreateOpenIDConnectProviderRequest & AddThumbprintList(Aws::String &&value)