AWS SDK for C++  1.9.18
AWS SDK for C++
UpdateDomainNameRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace APIGateway
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainName"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
54  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
59  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
60 
64  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
65 
69  inline UpdateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
70 
74  inline UpdateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
75 
79  inline UpdateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
80 
81 
86  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
87 
92  inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
93 
98  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
99 
104  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
105 
110  inline UpdateDomainNameRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
111 
116  inline UpdateDomainNameRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(std::move(value)); return *this;}
117 
122  inline UpdateDomainNameRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
123 
128  inline UpdateDomainNameRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
129 
130  private:
131 
132  Aws::String m_domainName;
133  bool m_domainNameHasBeenSet;
134 
135  Aws::Vector<PatchOperation> m_patchOperations;
136  bool m_patchOperationsHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace APIGateway
141 } // namespace Aws
Aws::APIGateway::Model::UpdateDomainNameRequest::SetDomainName
void SetDomainName(const char *value)
Definition: UpdateDomainNameRequest.h:64
Aws::APIGateway::Model::UpdateDomainNameRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainNameRequest.h:36
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateDomainNameRequest::SetPatchOperations
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateDomainNameRequest.h:98
Aws::APIGateway::Model::UpdateDomainNameRequest::WithDomainName
UpdateDomainNameRequest & WithDomainName(Aws::String &&value)
Definition: UpdateDomainNameRequest.h:74
Aws::APIGateway::Model::UpdateDomainNameRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpdateDomainNameRequest.h:59
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateDomainNameRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
APIGatewayRequest.h
Aws::APIGateway::Model::UpdateDomainNameRequest::GetPatchOperations
const Aws::Vector< PatchOperation > & GetPatchOperations() const
Definition: UpdateDomainNameRequest.h:86
Aws::APIGateway::Model::UpdateDomainNameRequest::UpdateDomainNameRequest
UpdateDomainNameRequest()
Aws::APIGateway::Model::UpdateDomainNameRequest::SetPatchOperations
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateDomainNameRequest.h:104
Aws::APIGateway::Model::UpdateDomainNameRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: UpdateDomainNameRequest.h:49
Aws::APIGateway::Model::UpdateDomainNameRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpdateDomainNameRequest.h:54
AWSString.h
Aws::APIGateway::Model::UpdateDomainNameRequest::AddPatchOperations
UpdateDomainNameRequest & AddPatchOperations(PatchOperation &&value)
Definition: UpdateDomainNameRequest.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateDomainNameRequest::WithDomainName
UpdateDomainNameRequest & WithDomainName(const Aws::String &value)
Definition: UpdateDomainNameRequest.h:69
Aws::APIGateway::Model::UpdateDomainNameRequest::AddPatchOperations
UpdateDomainNameRequest & AddPatchOperations(const PatchOperation &value)
Definition: UpdateDomainNameRequest.h:122
PatchOperation.h
Aws::APIGateway::Model::UpdateDomainNameRequest::WithDomainName
UpdateDomainNameRequest & WithDomainName(const char *value)
Definition: UpdateDomainNameRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateDomainNameRequest::WithPatchOperations
UpdateDomainNameRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateDomainNameRequest.h:110
Aws::APIGateway::Model::UpdateDomainNameRequest::PatchOperationsHasBeenSet
bool PatchOperationsHasBeenSet() const
Definition: UpdateDomainNameRequest.h:92
Aws::APIGateway::Model::UpdateDomainNameRequest::WithPatchOperations
UpdateDomainNameRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateDomainNameRequest.h:116
Aws::APIGateway::Model::PatchOperation
Definition: PatchOperation.h:35
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::UpdateDomainNameRequest
Definition: UpdateDomainNameRequest.h:28
Aws::APIGateway::Model::UpdateDomainNameRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpdateDomainNameRequest.h:44