AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeAuthorizerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeAuthorizer"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; }
39 
43  inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; }
44 
48  inline void SetAuthorizerName(const Aws::String& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = value; }
49 
53  inline void SetAuthorizerName(Aws::String&& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = std::move(value); }
54 
58  inline void SetAuthorizerName(const char* value) { m_authorizerNameHasBeenSet = true; m_authorizerName.assign(value); }
59 
63  inline DescribeAuthorizerRequest& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;}
64 
68  inline DescribeAuthorizerRequest& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;}
69 
73  inline DescribeAuthorizerRequest& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_authorizerName;
78  bool m_authorizerNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace IoT
83 } // namespace Aws
Aws::IoT::Model::DescribeAuthorizerRequest
Definition: DescribeAuthorizerRequest.h:22
Aws::IoT::Model::DescribeAuthorizerRequest::WithAuthorizerName
DescribeAuthorizerRequest & WithAuthorizerName(Aws::String &&value)
Definition: DescribeAuthorizerRequest.h:68
Aws::IoT::Model::DescribeAuthorizerRequest::AuthorizerNameHasBeenSet
bool AuthorizerNameHasBeenSet() const
Definition: DescribeAuthorizerRequest.h:43
Aws::IoT::Model::DescribeAuthorizerRequest::WithAuthorizerName
DescribeAuthorizerRequest & WithAuthorizerName(const char *value)
Definition: DescribeAuthorizerRequest.h:73
Aws::IoT::Model::DescribeAuthorizerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAuthorizerRequest.h:30
Aws::IoT::Model::DescribeAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(const char *value)
Definition: DescribeAuthorizerRequest.h:58
Aws::IoT::Model::DescribeAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(Aws::String &&value)
Definition: DescribeAuthorizerRequest.h:53
Aws::IoT::Model::DescribeAuthorizerRequest::GetAuthorizerName
const Aws::String & GetAuthorizerName() const
Definition: DescribeAuthorizerRequest.h:38
Aws::IoT::Model::DescribeAuthorizerRequest::WithAuthorizerName
DescribeAuthorizerRequest & WithAuthorizerName(const Aws::String &value)
Definition: DescribeAuthorizerRequest.h:63
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DescribeAuthorizerRequest::DescribeAuthorizerRequest
DescribeAuthorizerRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeAuthorizerRequest::SerializePayload
Aws::String SerializePayload() const override
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
IoTRequest.h
Aws::IoT::Model::DescribeAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(const Aws::String &value)
Definition: DescribeAuthorizerRequest.h:48
IoT_EXPORTS.h