AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateOpenIDConnectProviderThumbprintRequest.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 
45  inline const Aws::String& GetOpenIDConnectProviderArn() const{ return m_openIDConnectProviderArn; }
46 
56  inline void SetOpenIDConnectProviderArn(const Aws::String& value) { m_openIDConnectProviderArnHasBeenSet = true; m_openIDConnectProviderArn = value; }
57 
67  inline void SetOpenIDConnectProviderArn(Aws::String&& value) { m_openIDConnectProviderArnHasBeenSet = true; m_openIDConnectProviderArn = value; }
68 
78  inline void SetOpenIDConnectProviderArn(const char* value) { m_openIDConnectProviderArnHasBeenSet = true; m_openIDConnectProviderArn.assign(value); }
79 
89  inline UpdateOpenIDConnectProviderThumbprintRequest& WithOpenIDConnectProviderArn(const Aws::String& value) { SetOpenIDConnectProviderArn(value); return *this;}
90 
100  inline UpdateOpenIDConnectProviderThumbprintRequest& WithOpenIDConnectProviderArn(Aws::String&& value) { SetOpenIDConnectProviderArn(value); return *this;}
101 
111  inline UpdateOpenIDConnectProviderThumbprintRequest& WithOpenIDConnectProviderArn(const char* value) { SetOpenIDConnectProviderArn(value); return *this;}
112 
118  inline const Aws::Vector<Aws::String>& GetThumbprintList() const{ return m_thumbprintList; }
119 
125  inline void SetThumbprintList(const Aws::Vector<Aws::String>& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList = value; }
126 
132  inline void SetThumbprintList(Aws::Vector<Aws::String>&& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList = value; }
133 
139  inline UpdateOpenIDConnectProviderThumbprintRequest& WithThumbprintList(const Aws::Vector<Aws::String>& value) { SetThumbprintList(value); return *this;}
140 
146  inline UpdateOpenIDConnectProviderThumbprintRequest& WithThumbprintList(Aws::Vector<Aws::String>&& value) { SetThumbprintList(value); return *this;}
147 
153  inline UpdateOpenIDConnectProviderThumbprintRequest& AddThumbprintList(const Aws::String& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
154 
160  inline UpdateOpenIDConnectProviderThumbprintRequest& AddThumbprintList(Aws::String&& value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
161 
167  inline UpdateOpenIDConnectProviderThumbprintRequest& AddThumbprintList(const char* value) { m_thumbprintListHasBeenSet = true; m_thumbprintList.push_back(value); return *this; }
168 
169  private:
170  Aws::String m_openIDConnectProviderArn;
171  bool m_openIDConnectProviderArnHasBeenSet;
172  Aws::Vector<Aws::String> m_thumbprintList;
173  bool m_thumbprintListHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace IAM
178 } // namespace Aws
UpdateOpenIDConnectProviderThumbprintRequest & AddThumbprintList(Aws::String &&value)
UpdateOpenIDConnectProviderThumbprintRequest & WithOpenIDConnectProviderArn(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
UpdateOpenIDConnectProviderThumbprintRequest & WithThumbprintList(Aws::Vector< Aws::String > &&value)
UpdateOpenIDConnectProviderThumbprintRequest & WithOpenIDConnectProviderArn(Aws::String &&value)
UpdateOpenIDConnectProviderThumbprintRequest & AddThumbprintList(const char *value)
UpdateOpenIDConnectProviderThumbprintRequest & WithThumbprintList(const Aws::Vector< Aws::String > &value)
UpdateOpenIDConnectProviderThumbprintRequest & WithOpenIDConnectProviderArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
UpdateOpenIDConnectProviderThumbprintRequest & AddThumbprintList(const Aws::String &value)
JSON (JavaScript Object Notation).