AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainNameRequest.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/core/utils/memory/stl/AWSMap.h>
13#include <aws/apigatewayv2/model/DomainNameConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace ApiGatewayV2
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_APIGATEWAYV2_API CreateDomainNameRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainName"; }
39
40 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
41
42
44
47 inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
51 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
52 inline CreateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
53 inline CreateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
54 inline CreateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
56
58
61 inline const Aws::Vector<DomainNameConfiguration>& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; }
62 inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; }
63 inline void SetDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = value; }
64 inline void SetDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = std::move(value); }
67 inline CreateDomainNameRequest& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; }
68 inline CreateDomainNameRequest& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; }
70
72
75 inline const MutualTlsAuthenticationInput& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; }
76 inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; }
77 inline void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; }
78 inline void SetMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); }
82
84
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
90 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
91 inline CreateDomainNameRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
92 inline CreateDomainNameRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
93 inline CreateDomainNameRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
94 inline CreateDomainNameRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateDomainNameRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateDomainNameRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
97 inline CreateDomainNameRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline CreateDomainNameRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateDomainNameRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101 private:
102
103 Aws::String m_domainName;
104 bool m_domainNameHasBeenSet = false;
105
106 Aws::Vector<DomainNameConfiguration> m_domainNameConfigurations;
107 bool m_domainNameConfigurationsHasBeenSet = false;
108
109 MutualTlsAuthenticationInput m_mutualTlsAuthentication;
110 bool m_mutualTlsAuthenticationHasBeenSet = false;
111
113 bool m_tagsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ApiGatewayV2
118} // namespace Aws
CreateDomainNameRequest & WithMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainNameRequest & WithDomainName(const char *value)
CreateDomainNameRequest & AddDomainNameConfigurations(DomainNameConfiguration &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
const MutualTlsAuthenticationInput & GetMutualTlsAuthentication() const
CreateDomainNameRequest & WithDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
CreateDomainNameRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainNameRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainNameRequest & AddTags(const char *key, Aws::String &&value)
CreateDomainNameRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDomainNameRequest & AddTags(Aws::String &&key, const char *value)
CreateDomainNameRequest & WithDomainName(Aws::String &&value)
CreateDomainNameRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
CreateDomainNameRequest & WithDomainName(const Aws::String &value)
const Aws::Vector< DomainNameConfiguration > & GetDomainNameConfigurations() const
CreateDomainNameRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDomainNameRequest & WithMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDomainNameConfigurations(Aws::Vector< DomainNameConfiguration > &&value)
CreateDomainNameRequest & WithDomainNameConfigurations(const Aws::Vector< DomainNameConfiguration > &value)
CreateDomainNameRequest & AddTags(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDomainNameRequest & AddDomainNameConfigurations(const DomainNameConfiguration &value)
CreateDomainNameRequest & AddTags(const char *key, const char *value)
void SetMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector