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/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigatewayv2/model/MutualTlsAuthenticationInput.h>
12#include <aws/apigatewayv2/model/DomainNameConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ApiGatewayV2
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_APIGATEWAYV2_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_APIGATEWAYV2_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
59 inline const Aws::Vector<DomainNameConfiguration>& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; }
60 inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; }
61 inline void SetDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = value; }
62 inline void SetDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = std::move(value); }
65 inline UpdateDomainNameRequest& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; }
66 inline UpdateDomainNameRequest& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; }
68
70
73 inline const MutualTlsAuthenticationInput& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; }
74 inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; }
75 inline void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; }
76 inline void SetMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); }
80 private:
81
82 Aws::String m_domainName;
83 bool m_domainNameHasBeenSet = false;
84
85 Aws::Vector<DomainNameConfiguration> m_domainNameConfigurations;
86 bool m_domainNameConfigurationsHasBeenSet = false;
87
88 MutualTlsAuthenticationInput m_mutualTlsAuthentication;
89 bool m_mutualTlsAuthenticationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ApiGatewayV2
94} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateDomainNameRequest & WithDomainName(const Aws::String &value)
void SetDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
void SetDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
const MutualTlsAuthenticationInput & GetMutualTlsAuthentication() const
UpdateDomainNameRequest & WithMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
UpdateDomainNameRequest & WithDomainName(const char *value)
const Aws::Vector< DomainNameConfiguration > & GetDomainNameConfigurations() const
UpdateDomainNameRequest & WithDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
void SetMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
UpdateDomainNameRequest & WithMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
UpdateDomainNameRequest & AddDomainNameConfigurations(const DomainNameConfiguration &value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateDomainNameRequest & WithDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
UpdateDomainNameRequest & WithDomainName(Aws::String &&value)
void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
UpdateDomainNameRequest & AddDomainNameConfigurations(DomainNameConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector