AWS SDK for C++  1.9.130
AWS SDK for C++
SetDefaultAuthorizerResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; }
39 
43  inline void SetAuthorizerName(const Aws::String& value) { m_authorizerName = value; }
44 
48  inline void SetAuthorizerName(Aws::String&& value) { m_authorizerName = std::move(value); }
49 
53  inline void SetAuthorizerName(const char* value) { m_authorizerName.assign(value); }
54 
58  inline SetDefaultAuthorizerResult& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;}
59 
63  inline SetDefaultAuthorizerResult& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;}
64 
68  inline SetDefaultAuthorizerResult& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;}
69 
70 
74  inline const Aws::String& GetAuthorizerArn() const{ return m_authorizerArn; }
75 
79  inline void SetAuthorizerArn(const Aws::String& value) { m_authorizerArn = value; }
80 
84  inline void SetAuthorizerArn(Aws::String&& value) { m_authorizerArn = std::move(value); }
85 
89  inline void SetAuthorizerArn(const char* value) { m_authorizerArn.assign(value); }
90 
94  inline SetDefaultAuthorizerResult& WithAuthorizerArn(const Aws::String& value) { SetAuthorizerArn(value); return *this;}
95 
99  inline SetDefaultAuthorizerResult& WithAuthorizerArn(Aws::String&& value) { SetAuthorizerArn(std::move(value)); return *this;}
100 
104  inline SetDefaultAuthorizerResult& WithAuthorizerArn(const char* value) { SetAuthorizerArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_authorizerName;
109 
110  Aws::String m_authorizerArn;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::SetDefaultAuthorizerResult::GetAuthorizerArn
const Aws::String & GetAuthorizerArn() const
Definition: SetDefaultAuthorizerResult.h:74
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerName
void SetAuthorizerName(const Aws::String &value)
Definition: SetDefaultAuthorizerResult.h:43
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerArn
SetDefaultAuthorizerResult & WithAuthorizerArn(Aws::String &&value)
Definition: SetDefaultAuthorizerResult.h:99
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerName
SetDefaultAuthorizerResult & WithAuthorizerName(const Aws::String &value)
Definition: SetDefaultAuthorizerResult.h:58
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerArn
void SetAuthorizerArn(const Aws::String &value)
Definition: SetDefaultAuthorizerResult.h:79
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerArn
void SetAuthorizerArn(Aws::String &&value)
Definition: SetDefaultAuthorizerResult.h:84
Aws::IoT::Model::SetDefaultAuthorizerResult::SetDefaultAuthorizerResult
SetDefaultAuthorizerResult()
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerName
SetDefaultAuthorizerResult & WithAuthorizerName(const char *value)
Definition: SetDefaultAuthorizerResult.h:68
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerArn
SetDefaultAuthorizerResult & WithAuthorizerArn(const Aws::String &value)
Definition: SetDefaultAuthorizerResult.h:94
Aws::IoT::Model::SetDefaultAuthorizerResult::GetAuthorizerName
const Aws::String & GetAuthorizerName() const
Definition: SetDefaultAuthorizerResult.h:38
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerArn
SetDefaultAuthorizerResult & WithAuthorizerArn(const char *value)
Definition: SetDefaultAuthorizerResult.h:104
AWSString.h
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerName
void SetAuthorizerName(Aws::String &&value)
Definition: SetDefaultAuthorizerResult.h:48
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerArn
void SetAuthorizerArn(const char *value)
Definition: SetDefaultAuthorizerResult.h:89
Aws::IoT::Model::SetDefaultAuthorizerResult::SetAuthorizerName
void SetAuthorizerName(const char *value)
Definition: SetDefaultAuthorizerResult.h:53
Aws::IoT::Model::SetDefaultAuthorizerResult::WithAuthorizerName
SetDefaultAuthorizerResult & WithAuthorizerName(Aws::String &&value)
Definition: SetDefaultAuthorizerResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::SetDefaultAuthorizerResult
Definition: SetDefaultAuthorizerResult.h:28
Aws::IoT::Model::SetDefaultAuthorizerResult::operator=
SetDefaultAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::SetDefaultAuthorizerResult::SetDefaultAuthorizerResult
SetDefaultAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoT_EXPORTS.h