AWS SDK for C++  1.9.16
AWS SDK for C++
CreateAuthorizerResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
41  {
42  public:
46 
47 
51  inline const Aws::String& GetId() const{ return m_id; }
52 
56  inline void SetId(const Aws::String& value) { m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_id.assign(value); }
67 
71  inline CreateAuthorizerResult& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline CreateAuthorizerResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline CreateAuthorizerResult& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline void SetName(const Aws::String& value) { m_name = value; }
93 
97  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
98 
102  inline void SetName(const char* value) { m_name.assign(value); }
103 
107  inline CreateAuthorizerResult& WithName(const Aws::String& value) { SetName(value); return *this;}
108 
112  inline CreateAuthorizerResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 
117  inline CreateAuthorizerResult& WithName(const char* value) { SetName(value); return *this;}
118 
119 
126  inline const AuthorizerType& GetType() const{ return m_type; }
127 
134  inline void SetType(const AuthorizerType& value) { m_type = value; }
135 
142  inline void SetType(AuthorizerType&& value) { m_type = std::move(value); }
143 
150  inline CreateAuthorizerResult& WithType(const AuthorizerType& value) { SetType(value); return *this;}
151 
158  inline CreateAuthorizerResult& WithType(AuthorizerType&& value) { SetType(std::move(value)); return *this;}
159 
160 
168  inline const Aws::Vector<Aws::String>& GetProviderARNs() const{ return m_providerARNs; }
169 
177  inline void SetProviderARNs(const Aws::Vector<Aws::String>& value) { m_providerARNs = value; }
178 
186  inline void SetProviderARNs(Aws::Vector<Aws::String>&& value) { m_providerARNs = std::move(value); }
187 
195  inline CreateAuthorizerResult& WithProviderARNs(const Aws::Vector<Aws::String>& value) { SetProviderARNs(value); return *this;}
196 
204  inline CreateAuthorizerResult& WithProviderARNs(Aws::Vector<Aws::String>&& value) { SetProviderARNs(std::move(value)); return *this;}
205 
213  inline CreateAuthorizerResult& AddProviderARNs(const Aws::String& value) { m_providerARNs.push_back(value); return *this; }
214 
222  inline CreateAuthorizerResult& AddProviderARNs(Aws::String&& value) { m_providerARNs.push_back(std::move(value)); return *this; }
223 
231  inline CreateAuthorizerResult& AddProviderARNs(const char* value) { m_providerARNs.push_back(value); return *this; }
232 
233 
238  inline const Aws::String& GetAuthType() const{ return m_authType; }
239 
244  inline void SetAuthType(const Aws::String& value) { m_authType = value; }
245 
250  inline void SetAuthType(Aws::String&& value) { m_authType = std::move(value); }
251 
256  inline void SetAuthType(const char* value) { m_authType.assign(value); }
257 
262  inline CreateAuthorizerResult& WithAuthType(const Aws::String& value) { SetAuthType(value); return *this;}
263 
268  inline CreateAuthorizerResult& WithAuthType(Aws::String&& value) { SetAuthType(std::move(value)); return *this;}
269 
274  inline CreateAuthorizerResult& WithAuthType(const char* value) { SetAuthType(value); return *this;}
275 
276 
290  inline const Aws::String& GetAuthorizerUri() const{ return m_authorizerUri; }
291 
305  inline void SetAuthorizerUri(const Aws::String& value) { m_authorizerUri = value; }
306 
320  inline void SetAuthorizerUri(Aws::String&& value) { m_authorizerUri = std::move(value); }
321 
335  inline void SetAuthorizerUri(const char* value) { m_authorizerUri.assign(value); }
336 
350  inline CreateAuthorizerResult& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
351 
365  inline CreateAuthorizerResult& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
366 
380  inline CreateAuthorizerResult& WithAuthorizerUri(const char* value) { SetAuthorizerUri(value); return *this;}
381 
382 
389  inline const Aws::String& GetAuthorizerCredentials() const{ return m_authorizerCredentials; }
390 
397  inline void SetAuthorizerCredentials(const Aws::String& value) { m_authorizerCredentials = value; }
398 
405  inline void SetAuthorizerCredentials(Aws::String&& value) { m_authorizerCredentials = std::move(value); }
406 
413  inline void SetAuthorizerCredentials(const char* value) { m_authorizerCredentials.assign(value); }
414 
421  inline CreateAuthorizerResult& WithAuthorizerCredentials(const Aws::String& value) { SetAuthorizerCredentials(value); return *this;}
422 
429  inline CreateAuthorizerResult& WithAuthorizerCredentials(Aws::String&& value) { SetAuthorizerCredentials(std::move(value)); return *this;}
430 
437  inline CreateAuthorizerResult& WithAuthorizerCredentials(const char* value) { SetAuthorizerCredentials(value); return *this;}
438 
439 
462  inline const Aws::String& GetIdentitySource() const{ return m_identitySource; }
463 
486  inline void SetIdentitySource(const Aws::String& value) { m_identitySource = value; }
487 
510  inline void SetIdentitySource(Aws::String&& value) { m_identitySource = std::move(value); }
511 
534  inline void SetIdentitySource(const char* value) { m_identitySource.assign(value); }
535 
558  inline CreateAuthorizerResult& WithIdentitySource(const Aws::String& value) { SetIdentitySource(value); return *this;}
559 
582  inline CreateAuthorizerResult& WithIdentitySource(Aws::String&& value) { SetIdentitySource(std::move(value)); return *this;}
583 
606  inline CreateAuthorizerResult& WithIdentitySource(const char* value) { SetIdentitySource(value); return *this;}
607 
608 
619  inline const Aws::String& GetIdentityValidationExpression() const{ return m_identityValidationExpression; }
620 
631  inline void SetIdentityValidationExpression(const Aws::String& value) { m_identityValidationExpression = value; }
632 
643  inline void SetIdentityValidationExpression(Aws::String&& value) { m_identityValidationExpression = std::move(value); }
644 
655  inline void SetIdentityValidationExpression(const char* value) { m_identityValidationExpression.assign(value); }
656 
667  inline CreateAuthorizerResult& WithIdentityValidationExpression(const Aws::String& value) { SetIdentityValidationExpression(value); return *this;}
668 
679  inline CreateAuthorizerResult& WithIdentityValidationExpression(Aws::String&& value) { SetIdentityValidationExpression(std::move(value)); return *this;}
680 
691  inline CreateAuthorizerResult& WithIdentityValidationExpression(const char* value) { SetIdentityValidationExpression(value); return *this;}
692 
693 
700  inline int GetAuthorizerResultTtlInSeconds() const{ return m_authorizerResultTtlInSeconds; }
701 
708  inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSeconds = value; }
709 
716  inline CreateAuthorizerResult& WithAuthorizerResultTtlInSeconds(int value) { SetAuthorizerResultTtlInSeconds(value); return *this;}
717 
718  private:
719 
720  Aws::String m_id;
721 
722  Aws::String m_name;
723 
724  AuthorizerType m_type;
725 
726  Aws::Vector<Aws::String> m_providerARNs;
727 
728  Aws::String m_authType;
729 
730  Aws::String m_authorizerUri;
731 
732  Aws::String m_authorizerCredentials;
733 
734  Aws::String m_identitySource;
735 
736  Aws::String m_identityValidationExpression;
737 
738  int m_authorizerResultTtlInSeconds;
739  };
740 
741 } // namespace Model
742 } // namespace APIGateway
743 } // namespace Aws
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentitySource
void SetIdentitySource(Aws::String &&value)
Definition: CreateAuthorizerResult.h:510
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::CreateAuthorizerResult::SetName
void SetName(const Aws::String &value)
Definition: CreateAuthorizerResult.h:92
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateAuthorizerResult::SetName
void SetName(const char *value)
Definition: CreateAuthorizerResult.h:102
Aws::APIGateway::Model::CreateAuthorizerResult::CreateAuthorizerResult
CreateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthType
CreateAuthorizerResult & WithAuthType(const Aws::String &value)
Definition: CreateAuthorizerResult.h:262
Aws::APIGateway::Model::CreateAuthorizerResult::AddProviderARNs
CreateAuthorizerResult & AddProviderARNs(const Aws::String &value)
Definition: CreateAuthorizerResult.h:213
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerCredentials
CreateAuthorizerResult & WithAuthorizerCredentials(const Aws::String &value)
Definition: CreateAuthorizerResult.h:421
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthType
CreateAuthorizerResult & WithAuthType(const char *value)
Definition: CreateAuthorizerResult.h:274
Aws::APIGateway::Model::CreateAuthorizerResult::GetAuthorizerUri
const Aws::String & GetAuthorizerUri() const
Definition: CreateAuthorizerResult.h:290
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerUri
void SetAuthorizerUri(Aws::String &&value)
Definition: CreateAuthorizerResult.h:320
Aws::APIGateway::Model::CreateAuthorizerResult::operator=
CreateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentitySource
CreateAuthorizerResult & WithIdentitySource(const char *value)
Definition: CreateAuthorizerResult.h:606
Aws::APIGateway::Model::CreateAuthorizerResult::GetAuthorizerResultTtlInSeconds
int GetAuthorizerResultTtlInSeconds() const
Definition: CreateAuthorizerResult.h:700
Aws::APIGateway::Model::CreateAuthorizerResult::CreateAuthorizerResult
CreateAuthorizerResult()
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateAuthorizerResult::SetId
void SetId(const Aws::String &value)
Definition: CreateAuthorizerResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::CreateAuthorizerResult::GetAuthorizerCredentials
const Aws::String & GetAuthorizerCredentials() const
Definition: CreateAuthorizerResult.h:389
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthType
void SetAuthType(Aws::String &&value)
Definition: CreateAuthorizerResult.h:250
Aws::APIGateway::Model::CreateAuthorizerResult::WithType
CreateAuthorizerResult & WithType(AuthorizerType &&value)
Definition: CreateAuthorizerResult.h:158
AWSVector.h
Aws::APIGateway::Model::CreateAuthorizerResult::WithName
CreateAuthorizerResult & WithName(const char *value)
Definition: CreateAuthorizerResult.h:117
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerResultTtlInSeconds
CreateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
Definition: CreateAuthorizerResult.h:716
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerUri
void SetAuthorizerUri(const Aws::String &value)
Definition: CreateAuthorizerResult.h:305
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerUri
CreateAuthorizerResult & WithAuthorizerUri(const char *value)
Definition: CreateAuthorizerResult.h:380
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentitySource
CreateAuthorizerResult & WithIdentitySource(const Aws::String &value)
Definition: CreateAuthorizerResult.h:558
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthType
void SetAuthType(const char *value)
Definition: CreateAuthorizerResult.h:256
Aws::APIGateway::Model::CreateAuthorizerResult::SetId
void SetId(Aws::String &&value)
Definition: CreateAuthorizerResult.h:61
Aws::APIGateway::Model::CreateAuthorizerResult::GetIdentitySource
const Aws::String & GetIdentitySource() const
Definition: CreateAuthorizerResult.h:462
Aws::APIGateway::Model::CreateAuthorizerResult::WithProviderARNs
CreateAuthorizerResult & WithProviderARNs(Aws::Vector< Aws::String > &&value)
Definition: CreateAuthorizerResult.h:204
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerCredentials
void SetAuthorizerCredentials(const Aws::String &value)
Definition: CreateAuthorizerResult.h:397
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentityValidationExpression
CreateAuthorizerResult & WithIdentityValidationExpression(const char *value)
Definition: CreateAuthorizerResult.h:691
Aws::APIGateway::Model::AuthorizerType
AuthorizerType
Definition: AuthorizerType.h:17
Aws::APIGateway::Model::CreateAuthorizerResult::SetType
void SetType(const AuthorizerType &value)
Definition: CreateAuthorizerResult.h:134
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerCredentials
CreateAuthorizerResult & WithAuthorizerCredentials(const char *value)
Definition: CreateAuthorizerResult.h:437
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentityValidationExpression
void SetIdentityValidationExpression(const char *value)
Definition: CreateAuthorizerResult.h:655
AWSString.h
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentityValidationExpression
void SetIdentityValidationExpression(Aws::String &&value)
Definition: CreateAuthorizerResult.h:643
Aws::APIGateway::Model::CreateAuthorizerResult::GetType
const AuthorizerType & GetType() const
Definition: CreateAuthorizerResult.h:126
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentityValidationExpression
CreateAuthorizerResult & WithIdentityValidationExpression(Aws::String &&value)
Definition: CreateAuthorizerResult.h:679
Aws::APIGateway::Model::CreateAuthorizerResult::WithProviderARNs
CreateAuthorizerResult & WithProviderARNs(const Aws::Vector< Aws::String > &value)
Definition: CreateAuthorizerResult.h:195
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerResultTtlInSeconds
void SetAuthorizerResultTtlInSeconds(int value)
Definition: CreateAuthorizerResult.h:708
Aws::APIGateway::Model::CreateAuthorizerResult::AddProviderARNs
CreateAuthorizerResult & AddProviderARNs(const char *value)
Definition: CreateAuthorizerResult.h:231
Aws::APIGateway::Model::CreateAuthorizerResult::GetProviderARNs
const Aws::Vector< Aws::String > & GetProviderARNs() const
Definition: CreateAuthorizerResult.h:168
Aws::APIGateway::Model::CreateAuthorizerResult::SetProviderARNs
void SetProviderARNs(const Aws::Vector< Aws::String > &value)
Definition: CreateAuthorizerResult.h:177
Aws::APIGateway::Model::CreateAuthorizerResult::SetId
void SetId(const char *value)
Definition: CreateAuthorizerResult.h:66
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentitySource
CreateAuthorizerResult & WithIdentitySource(Aws::String &&value)
Definition: CreateAuthorizerResult.h:582
Aws::APIGateway::Model::CreateAuthorizerResult
Definition: CreateAuthorizerResult.h:41
Aws::APIGateway::Model::CreateAuthorizerResult::WithId
CreateAuthorizerResult & WithId(Aws::String &&value)
Definition: CreateAuthorizerResult.h:76
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthType
void SetAuthType(const Aws::String &value)
Definition: CreateAuthorizerResult.h:244
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentitySource
void SetIdentitySource(const char *value)
Definition: CreateAuthorizerResult.h:534
Aws::APIGateway::Model::CreateAuthorizerResult::WithType
CreateAuthorizerResult & WithType(const AuthorizerType &value)
Definition: CreateAuthorizerResult.h:150
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentityValidationExpression
void SetIdentityValidationExpression(const Aws::String &value)
Definition: CreateAuthorizerResult.h:631
Aws::APIGateway::Model::CreateAuthorizerResult::SetName
void SetName(Aws::String &&value)
Definition: CreateAuthorizerResult.h:97
Aws::APIGateway::Model::CreateAuthorizerResult::WithIdentityValidationExpression
CreateAuthorizerResult & WithIdentityValidationExpression(const Aws::String &value)
Definition: CreateAuthorizerResult.h:667
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerCredentials
void SetAuthorizerCredentials(const char *value)
Definition: CreateAuthorizerResult.h:413
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerCredentials
void SetAuthorizerCredentials(Aws::String &&value)
Definition: CreateAuthorizerResult.h:405
Aws::APIGateway::Model::CreateAuthorizerResult::GetIdentityValidationExpression
const Aws::String & GetIdentityValidationExpression() const
Definition: CreateAuthorizerResult.h:619
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerUri
CreateAuthorizerResult & WithAuthorizerUri(const Aws::String &value)
Definition: CreateAuthorizerResult.h:350
Aws
Definition: AccessManagementClient.h:15
AuthorizerType.h
Aws::APIGateway::Model::CreateAuthorizerResult::AddProviderARNs
CreateAuthorizerResult & AddProviderARNs(Aws::String &&value)
Definition: CreateAuthorizerResult.h:222
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateAuthorizerResult::SetProviderARNs
void SetProviderARNs(Aws::Vector< Aws::String > &&value)
Definition: CreateAuthorizerResult.h:186
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerCredentials
CreateAuthorizerResult & WithAuthorizerCredentials(Aws::String &&value)
Definition: CreateAuthorizerResult.h:429
Aws::APIGateway::Model::CreateAuthorizerResult::SetType
void SetType(AuthorizerType &&value)
Definition: CreateAuthorizerResult.h:142
Aws::APIGateway::Model::CreateAuthorizerResult::WithId
CreateAuthorizerResult & WithId(const Aws::String &value)
Definition: CreateAuthorizerResult.h:71
Aws::APIGateway::Model::CreateAuthorizerResult::GetName
const Aws::String & GetName() const
Definition: CreateAuthorizerResult.h:87
Aws::APIGateway::Model::CreateAuthorizerResult::WithId
CreateAuthorizerResult & WithId(const char *value)
Definition: CreateAuthorizerResult.h:81
Aws::APIGateway::Model::CreateAuthorizerResult::SetIdentitySource
void SetIdentitySource(const Aws::String &value)
Definition: CreateAuthorizerResult.h:486
Aws::APIGateway::Model::CreateAuthorizerResult::WithName
CreateAuthorizerResult & WithName(const Aws::String &value)
Definition: CreateAuthorizerResult.h:107
Aws::APIGateway::Model::CreateAuthorizerResult::WithName
CreateAuthorizerResult & WithName(Aws::String &&value)
Definition: CreateAuthorizerResult.h:112
Aws::APIGateway::Model::CreateAuthorizerResult::GetAuthType
const Aws::String & GetAuthType() const
Definition: CreateAuthorizerResult.h:238
Aws::APIGateway::Model::CreateAuthorizerResult::SetAuthorizerUri
void SetAuthorizerUri(const char *value)
Definition: CreateAuthorizerResult.h:335
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthorizerUri
CreateAuthorizerResult & WithAuthorizerUri(Aws::String &&value)
Definition: CreateAuthorizerResult.h:365
Aws::APIGateway::Model::CreateAuthorizerResult::WithAuthType
CreateAuthorizerResult & WithAuthType(Aws::String &&value)
Definition: CreateAuthorizerResult.h:268
Aws::APIGateway::Model::CreateAuthorizerResult::GetId
const Aws::String & GetId() const
Definition: CreateAuthorizerResult.h:51