AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateDomainNameRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ApiGatewayV2
18 {
19 namespace Model
20 {
21 
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 
85  inline const Aws::Vector<DomainNameConfiguration>& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; }
86 
90  inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; }
91 
95  inline void SetDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = value; }
96 
100  inline void SetDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = std::move(value); }
101 
105  inline UpdateDomainNameRequest& WithDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { SetDomainNameConfigurations(value); return *this;}
106 
110  inline UpdateDomainNameRequest& WithDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { SetDomainNameConfigurations(std::move(value)); return *this;}
111 
115  inline UpdateDomainNameRequest& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; }
116 
120  inline UpdateDomainNameRequest& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; }
121 
122 
126  inline const MutualTlsAuthenticationInput& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; }
127 
131  inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; }
132 
136  inline void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; }
137 
141  inline void SetMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); }
142 
146  inline UpdateDomainNameRequest& WithMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { SetMutualTlsAuthentication(value); return *this;}
147 
151  inline UpdateDomainNameRequest& WithMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { SetMutualTlsAuthentication(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_domainName;
156  bool m_domainNameHasBeenSet;
157 
158  Aws::Vector<DomainNameConfiguration> m_domainNameConfigurations;
159  bool m_domainNameConfigurationsHasBeenSet;
160 
161  MutualTlsAuthenticationInput m_mutualTlsAuthentication;
162  bool m_mutualTlsAuthenticationHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace ApiGatewayV2
167 } // namespace Aws
UpdateDomainNameRequest & WithDomainName(Aws::String &&value)
const Aws::Vector< DomainNameConfiguration > & GetDomainNameConfigurations() const
UpdateDomainNameRequest & WithDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
UpdateDomainNameRequest & AddDomainNameConfigurations(const DomainNameConfiguration &value)
UpdateDomainNameRequest & WithDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
#define AWS_APIGATEWAYV2_API
UpdateDomainNameRequest & AddDomainNameConfigurations(DomainNameConfiguration &&value)
UpdateDomainNameRequest & WithDomainName(const Aws::String &value)
void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
UpdateDomainNameRequest & WithMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
UpdateDomainNameRequest & WithDomainName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
virtual const char * GetServiceRequestName() const override
void SetDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
void SetMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
const MutualTlsAuthenticationInput & GetMutualTlsAuthentication() const
UpdateDomainNameRequest & WithMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)