AWS SDK for C++  1.9.175
AWS SDK for C++
DisassociateConnectionAliasRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkSpaces
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 "DisassociateConnectionAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
41 
45  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
46 
50  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
51 
55  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
56 
60  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
61 
65  inline DisassociateConnectionAliasRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
66 
70  inline DisassociateConnectionAliasRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
71 
75  inline DisassociateConnectionAliasRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_aliasId;
80  bool m_aliasIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace WorkSpaces
85 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::WithAliasId
DisassociateConnectionAliasRequest & WithAliasId(Aws::String &&value)
Definition: DisassociateConnectionAliasRequest.h:70
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::GetAliasId
const Aws::String & GetAliasId() const
Definition: DisassociateConnectionAliasRequest.h:40
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::DisassociateConnectionAliasRequest
DisassociateConnectionAliasRequest()
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::WithAliasId
DisassociateConnectionAliasRequest & WithAliasId(const char *value)
Definition: DisassociateConnectionAliasRequest.h:75
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: DisassociateConnectionAliasRequest.h:50
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::SetAliasId
void SetAliasId(const char *value)
Definition: DisassociateConnectionAliasRequest.h:60
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::WithAliasId
DisassociateConnectionAliasRequest & WithAliasId(const Aws::String &value)
Definition: DisassociateConnectionAliasRequest.h:65
AWSString.h
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest
Definition: DisassociateConnectionAliasRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: DisassociateConnectionAliasRequest.h:55
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateConnectionAliasRequest.h:30
Aws::WorkSpaces::Model::DisassociateConnectionAliasRequest::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: DisassociateConnectionAliasRequest.h:45