AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainNameRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace APIGateway
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_APIGATEWAY_API UpdateDomainNameRequest();
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_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline UpdateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline UpdateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline UpdateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
61 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
62 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
63 inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
64 inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
67 inline UpdateDomainNameRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
68 inline UpdateDomainNameRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_domainName;
73 bool m_domainNameHasBeenSet = false;
74
75 Aws::Vector<PatchOperation> m_patchOperations;
76 bool m_patchOperationsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace APIGateway
81} // namespace Aws
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateDomainNameRequest & AddPatchOperations(const PatchOperation &value)
UpdateDomainNameRequest & WithDomainName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateDomainNameRequest & AddPatchOperations(PatchOperation &&value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateDomainNameRequest & WithDomainName(const char *value)
UpdateDomainNameRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
UpdateDomainNameRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateDomainNameRequest & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector