AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteRoleAliasRequest.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 "DeleteRoleAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetRoleAlias() const{ return m_roleAlias; }
39 
43  inline bool RoleAliasHasBeenSet() const { return m_roleAliasHasBeenSet; }
44 
48  inline void SetRoleAlias(const Aws::String& value) { m_roleAliasHasBeenSet = true; m_roleAlias = value; }
49 
53  inline void SetRoleAlias(Aws::String&& value) { m_roleAliasHasBeenSet = true; m_roleAlias = std::move(value); }
54 
58  inline void SetRoleAlias(const char* value) { m_roleAliasHasBeenSet = true; m_roleAlias.assign(value); }
59 
63  inline DeleteRoleAliasRequest& WithRoleAlias(const Aws::String& value) { SetRoleAlias(value); return *this;}
64 
68  inline DeleteRoleAliasRequest& WithRoleAlias(Aws::String&& value) { SetRoleAlias(std::move(value)); return *this;}
69 
73  inline DeleteRoleAliasRequest& WithRoleAlias(const char* value) { SetRoleAlias(value); return *this;}
74 
75  private:
76 
77  Aws::String m_roleAlias;
78  bool m_roleAliasHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace IoT
83 } // namespace Aws
Aws::IoT::Model::DeleteRoleAliasRequest
Definition: DeleteRoleAliasRequest.h:22
Aws::IoT::Model::DeleteRoleAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteRoleAliasRequest::RoleAliasHasBeenSet
bool RoleAliasHasBeenSet() const
Definition: DeleteRoleAliasRequest.h:43
Aws::IoT::Model::DeleteRoleAliasRequest::SetRoleAlias
void SetRoleAlias(const char *value)
Definition: DeleteRoleAliasRequest.h:58
Aws::IoT::Model::DeleteRoleAliasRequest::WithRoleAlias
DeleteRoleAliasRequest & WithRoleAlias(const char *value)
Definition: DeleteRoleAliasRequest.h:73
Aws::IoT::Model::DeleteRoleAliasRequest::WithRoleAlias
DeleteRoleAliasRequest & WithRoleAlias(const Aws::String &value)
Definition: DeleteRoleAliasRequest.h:63
Aws::IoT::Model::DeleteRoleAliasRequest::SetRoleAlias
void SetRoleAlias(Aws::String &&value)
Definition: DeleteRoleAliasRequest.h:53
Aws::IoT::Model::DeleteRoleAliasRequest::DeleteRoleAliasRequest
DeleteRoleAliasRequest()
Aws::IoT::Model::DeleteRoleAliasRequest::SetRoleAlias
void SetRoleAlias(const Aws::String &value)
Definition: DeleteRoleAliasRequest.h:48
AWSString.h
Aws::IoT::Model::DeleteRoleAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRoleAliasRequest.h:30
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteRoleAliasRequest::GetRoleAlias
const Aws::String & GetRoleAlias() const
Definition: DeleteRoleAliasRequest.h:38
Aws
Definition: AccessManagementClient.h:15
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::DeleteRoleAliasRequest::WithRoleAlias
DeleteRoleAliasRequest & WithRoleAlias(Aws::String &&value)
Definition: DeleteRoleAliasRequest.h:68
IoTRequest.h
IoT_EXPORTS.h