AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainRequest.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 <utility>
12
13namespace Aws
14{
15namespace VoiceID
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VOICEID_API UpdateDomainRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
32
33 AWS_VOICEID_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 UpdateDomainRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDomainId() const { return m_domainId; }
55 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
56 template<typename DomainIdT = Aws::String>
57 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
58 template<typename DomainIdT = Aws::String>
59 UpdateDomainRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateDomainRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
83 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const { return m_serverSideEncryptionConfiguration; }
84 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
85 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
86 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
87 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
88 UpdateDomainRequest& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value)); return *this;}
90 private:
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 Aws::String m_domainId;
96 bool m_domainIdHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
102 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace VoiceID
107} // 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