AWS SDK for C++  0.14.3
AWS SDK for C++
GetOpenIDConnectProviderResult.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>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace IAM
35 {
36 namespace Model
37 {
43  {
44  public:
48 
53  inline const Aws::String& GetUrl() const{ return m_url; }
54 
59  inline void SetUrl(const Aws::String& value) { m_url = value; }
60 
65  inline void SetUrl(Aws::String&& value) { m_url = value; }
66 
71  inline void SetUrl(const char* value) { m_url.assign(value); }
72 
77  inline GetOpenIDConnectProviderResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
78 
83  inline GetOpenIDConnectProviderResult& WithUrl(Aws::String&& value) { SetUrl(value); return *this;}
84 
89  inline GetOpenIDConnectProviderResult& WithUrl(const char* value) { SetUrl(value); return *this;}
90 
96  inline const Aws::Vector<Aws::String>& GetClientIDList() const{ return m_clientIDList; }
97 
103  inline void SetClientIDList(const Aws::Vector<Aws::String>& value) { m_clientIDList = value; }
104 
110  inline void SetClientIDList(Aws::Vector<Aws::String>&& value) { m_clientIDList = value; }
111 
117  inline GetOpenIDConnectProviderResult& WithClientIDList(const Aws::Vector<Aws::String>& value) { SetClientIDList(value); return *this;}
118 
124  inline GetOpenIDConnectProviderResult& WithClientIDList(Aws::Vector<Aws::String>&& value) { SetClientIDList(value); return *this;}
125 
131  inline GetOpenIDConnectProviderResult& AddClientIDList(const Aws::String& value) { m_clientIDList.push_back(value); return *this; }
132 
138  inline GetOpenIDConnectProviderResult& AddClientIDList(Aws::String&& value) { m_clientIDList.push_back(value); return *this; }
139 
145  inline GetOpenIDConnectProviderResult& AddClientIDList(const char* value) { m_clientIDList.push_back(value); return *this; }
146 
152  inline const Aws::Vector<Aws::String>& GetThumbprintList() const{ return m_thumbprintList; }
153 
159  inline void SetThumbprintList(const Aws::Vector<Aws::String>& value) { m_thumbprintList = value; }
160 
166  inline void SetThumbprintList(Aws::Vector<Aws::String>&& value) { m_thumbprintList = value; }
167 
173  inline GetOpenIDConnectProviderResult& WithThumbprintList(const Aws::Vector<Aws::String>& value) { SetThumbprintList(value); return *this;}
174 
180  inline GetOpenIDConnectProviderResult& WithThumbprintList(Aws::Vector<Aws::String>&& value) { SetThumbprintList(value); return *this;}
181 
187  inline GetOpenIDConnectProviderResult& AddThumbprintList(const Aws::String& value) { m_thumbprintList.push_back(value); return *this; }
188 
194  inline GetOpenIDConnectProviderResult& AddThumbprintList(Aws::String&& value) { m_thumbprintList.push_back(value); return *this; }
195 
201  inline GetOpenIDConnectProviderResult& AddThumbprintList(const char* value) { m_thumbprintList.push_back(value); return *this; }
202 
207  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
208 
213  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; }
214 
219  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = value; }
220 
225  inline GetOpenIDConnectProviderResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
226 
231  inline GetOpenIDConnectProviderResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(value); return *this;}
232 
233 
234  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
235 
236 
237  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
238 
239 
240  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
241 
242 
243  inline GetOpenIDConnectProviderResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
244 
245 
246  inline GetOpenIDConnectProviderResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
247 
248  private:
249  Aws::String m_url;
250  Aws::Vector<Aws::String> m_clientIDList;
251  Aws::Vector<Aws::String> m_thumbprintList;
252  Aws::Utils::DateTime m_createDate;
253  ResponseMetadata m_responseMetadata;
254  };
255 
256 } // namespace Model
257 } // namespace IAM
258 } // namespace Aws
GetOpenIDConnectProviderResult & AddThumbprintList(Aws::String &&value)
void SetThumbprintList(const Aws::Vector< Aws::String > &value)
GetOpenIDConnectProviderResult & AddClientIDList(const Aws::String &value)
GetOpenIDConnectProviderResult & WithUrl(const Aws::String &value)
GetOpenIDConnectProviderResult & WithClientIDList(Aws::Vector< Aws::String > &&value)
GetOpenIDConnectProviderResult & AddClientIDList(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetThumbprintList(Aws::Vector< Aws::String > &&value)
GetOpenIDConnectProviderResult & WithCreateDate(const Aws::Utils::DateTime &value)
GetOpenIDConnectProviderResult & AddClientIDList(Aws::String &&value)
GetOpenIDConnectProviderResult & WithClientIDList(const Aws::Vector< Aws::String > &value)
GetOpenIDConnectProviderResult & WithThumbprintList(const Aws::Vector< Aws::String > &value)
void SetClientIDList(Aws::Vector< Aws::String > &&value)
GetOpenIDConnectProviderResult & WithResponseMetadata(const ResponseMetadata &value)
GetOpenIDConnectProviderResult & AddThumbprintList(const char *value)
GetOpenIDConnectProviderResult & WithUrl(Aws::String &&value)
GetOpenIDConnectProviderResult & WithCreateDate(Aws::Utils::DateTime &&value)
void SetClientIDList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetClientIDList() const
GetOpenIDConnectProviderResult & WithUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetOpenIDConnectProviderResult & AddThumbprintList(const Aws::String &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
GetOpenIDConnectProviderResult & WithThumbprintList(Aws::Vector< Aws::String > &&value)
JSON (JavaScript Object Notation).
const Aws::Vector< Aws::String > & GetThumbprintList() const
GetOpenIDConnectProviderResult & WithResponseMetadata(ResponseMetadata &&value)