AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
UpdateDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/voice-id/VoiceIDRequest.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10#include <aws/voice-id/model/ServerSideEncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace VoiceID {
16namespace Model {
17
21 public:
22 AWS_VOICEID_API UpdateDomainRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
29
30 AWS_VOICEID_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
46 UpdateDomainRequest& WithDescription(DescriptionT&& value) {
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDomainId() const { return m_domainId; }
57 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
58 template <typename DomainIdT = Aws::String>
59 void SetDomainId(DomainIdT&& value) {
60 m_domainIdHasBeenSet = true;
61 m_domainId = std::forward<DomainIdT>(value);
62 }
63 template <typename DomainIdT = Aws::String>
64 UpdateDomainRequest& WithDomainId(DomainIdT&& value) {
65 SetDomainId(std::forward<DomainIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 UpdateDomainRequest& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
98 return m_serverSideEncryptionConfiguration;
99 }
100 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
101 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
102 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
103 m_serverSideEncryptionConfigurationHasBeenSet = true;
104 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
105 }
106 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
107 UpdateDomainRequest& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
108 SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_description;
114
115 Aws::String m_domainId;
116
117 Aws::String m_name;
118
119 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
120 bool m_descriptionHasBeenSet = false;
121 bool m_domainIdHasBeenSet = false;
122 bool m_nameHasBeenSet = false;
123 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace VoiceID
128} // namespace Aws
UpdateDomainRequest & WithDomainId(DomainIdT &&value)
UpdateDomainRequest & WithName(NameT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
AWS_VOICEID_API UpdateDomainRequest()=default
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VOICEID_API Aws::String SerializePayload() const override
UpdateDomainRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
UpdateDomainRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String