AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainRequest.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/VoiceIDRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/voice-id/model/ServerSideEncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/voice-id/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace VoiceID
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_VOICEID_API CreateDomainRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDomain"; }
35
36 AWS_VOICEID_API Aws::String SerializePayload() const override;
37
39
40
42
49 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
52 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
53 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
54 inline CreateDomainRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
55 inline CreateDomainRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
56 inline CreateDomainRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline CreateDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline CreateDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline CreateDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline CreateDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline CreateDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline CreateDomainRequest& WithName(const char* value) { SetName(value); return *this;}
86
88
95 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
96 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
97 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
98 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
102
104
107 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
108 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
109 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
110 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
111 inline CreateDomainRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
112 inline CreateDomainRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
113 inline CreateDomainRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
114 inline CreateDomainRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
116 private:
117
118 Aws::String m_clientToken;
119 bool m_clientTokenHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
128 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
129
130 Aws::Vector<Tag> m_tags;
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace VoiceID
136} // namespace Aws
void SetName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateDomainRequest & WithName(Aws::String &&value)
CreateDomainRequest & WithClientToken(const char *value)
CreateDomainRequest & WithDescription(Aws::String &&value)
CreateDomainRequest & WithDescription(const char *value)
CreateDomainRequest & WithTags(Aws::Vector< Tag > &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
CreateDomainRequest & WithDescription(const Aws::String &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
virtual const char * GetServiceRequestName() const override
CreateDomainRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateDomainRequest & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDomainRequest & WithClientToken(Aws::String &&value)
CreateDomainRequest & WithName(const char *value)
CreateDomainRequest & AddTags(const Tag &value)
void SetDescription(const Aws::String &value)
CreateDomainRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateDomainRequest & WithTags(const Aws::Vector< Tag > &value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AWS_VOICEID_API Aws::String SerializePayload() const override
CreateDomainRequest & WithName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDomainRequest & WithClientToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector