AWS SDK for C++  1.9.159
AWS SDK for C++
DeleteAccountAliasRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
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 "DeleteAccountAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
45  inline const Aws::String& GetAccountAlias() const{ return m_accountAlias; }
46 
53  inline bool AccountAliasHasBeenSet() const { return m_accountAliasHasBeenSet; }
54 
61  inline void SetAccountAlias(const Aws::String& value) { m_accountAliasHasBeenSet = true; m_accountAlias = value; }
62 
69  inline void SetAccountAlias(Aws::String&& value) { m_accountAliasHasBeenSet = true; m_accountAlias = std::move(value); }
70 
77  inline void SetAccountAlias(const char* value) { m_accountAliasHasBeenSet = true; m_accountAlias.assign(value); }
78 
85  inline DeleteAccountAliasRequest& WithAccountAlias(const Aws::String& value) { SetAccountAlias(value); return *this;}
86 
93  inline DeleteAccountAliasRequest& WithAccountAlias(Aws::String&& value) { SetAccountAlias(std::move(value)); return *this;}
94 
101  inline DeleteAccountAliasRequest& WithAccountAlias(const char* value) { SetAccountAlias(value); return *this;}
102 
103  private:
104 
105  Aws::String m_accountAlias;
106  bool m_accountAliasHasBeenSet;
107  };
108 
109 } // namespace Model
110 } // namespace IAM
111 } // namespace Aws
Aws::IAM::Model::DeleteAccountAliasRequest::GetAccountAlias
const Aws::String & GetAccountAlias() const
Definition: DeleteAccountAliasRequest.h:45
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::DeleteAccountAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAccountAliasRequest.h:30
Aws::IAM::Model::DeleteAccountAliasRequest::SetAccountAlias
void SetAccountAlias(Aws::String &&value)
Definition: DeleteAccountAliasRequest.h:69
Aws::IAM::Model::DeleteAccountAliasRequest
Definition: DeleteAccountAliasRequest.h:22
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::DeleteAccountAliasRequest::AccountAliasHasBeenSet
bool AccountAliasHasBeenSet() const
Definition: DeleteAccountAliasRequest.h:53
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::DeleteAccountAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::DeleteAccountAliasRequest::SetAccountAlias
void SetAccountAlias(const char *value)
Definition: DeleteAccountAliasRequest.h:77
Aws::IAM::Model::DeleteAccountAliasRequest::SetAccountAlias
void SetAccountAlias(const Aws::String &value)
Definition: DeleteAccountAliasRequest.h:61
AWSString.h
Aws::IAM::Model::DeleteAccountAliasRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::DeleteAccountAliasRequest::WithAccountAlias
DeleteAccountAliasRequest & WithAccountAlias(Aws::String &&value)
Definition: DeleteAccountAliasRequest.h:93
Aws::IAM::Model::DeleteAccountAliasRequest::WithAccountAlias
DeleteAccountAliasRequest & WithAccountAlias(const char *value)
Definition: DeleteAccountAliasRequest.h:101
Aws::IAM::Model::DeleteAccountAliasRequest::DeleteAccountAliasRequest
DeleteAccountAliasRequest()
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::DeleteAccountAliasRequest::WithAccountAlias
DeleteAccountAliasRequest & WithAccountAlias(const Aws::String &value)
Definition: DeleteAccountAliasRequest.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97