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/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/MatchingRequest.h>
11#include <aws/customer-profiles/model/RuleBasedMatchingRequest.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CustomerProfiles
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CUSTOMERPROFILES_API UpdateDomainRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
34
35 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template<typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
46 template<typename DomainNameT = Aws::String>
47 UpdateDomainRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
54 inline int GetDefaultExpirationDays() const { return m_defaultExpirationDays; }
55 inline bool DefaultExpirationDaysHasBeenSet() const { return m_defaultExpirationDaysHasBeenSet; }
56 inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDaysHasBeenSet = true; m_defaultExpirationDays = value; }
59
61
67 inline const Aws::String& GetDefaultEncryptionKey() const { return m_defaultEncryptionKey; }
68 inline bool DefaultEncryptionKeyHasBeenSet() const { return m_defaultEncryptionKeyHasBeenSet; }
69 template<typename DefaultEncryptionKeyT = Aws::String>
70 void SetDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = std::forward<DefaultEncryptionKeyT>(value); }
71 template<typename DefaultEncryptionKeyT = Aws::String>
72 UpdateDomainRequest& WithDefaultEncryptionKey(DefaultEncryptionKeyT&& value) { SetDefaultEncryptionKey(std::forward<DefaultEncryptionKeyT>(value)); return *this;}
74
76
83 inline const Aws::String& GetDeadLetterQueueUrl() const { return m_deadLetterQueueUrl; }
84 inline bool DeadLetterQueueUrlHasBeenSet() const { return m_deadLetterQueueUrlHasBeenSet; }
85 template<typename DeadLetterQueueUrlT = Aws::String>
86 void SetDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = std::forward<DeadLetterQueueUrlT>(value); }
87 template<typename DeadLetterQueueUrlT = Aws::String>
88 UpdateDomainRequest& WithDeadLetterQueueUrl(DeadLetterQueueUrlT&& value) { SetDeadLetterQueueUrl(std::forward<DeadLetterQueueUrlT>(value)); return *this;}
90
92
104 inline const MatchingRequest& GetMatching() const { return m_matching; }
105 inline bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; }
106 template<typename MatchingT = MatchingRequest>
107 void SetMatching(MatchingT&& value) { m_matchingHasBeenSet = true; m_matching = std::forward<MatchingT>(value); }
108 template<typename MatchingT = MatchingRequest>
109 UpdateDomainRequest& WithMatching(MatchingT&& value) { SetMatching(std::forward<MatchingT>(value)); return *this;}
111
113
123 inline const RuleBasedMatchingRequest& GetRuleBasedMatching() const { return m_ruleBasedMatching; }
124 inline bool RuleBasedMatchingHasBeenSet() const { return m_ruleBasedMatchingHasBeenSet; }
125 template<typename RuleBasedMatchingT = RuleBasedMatchingRequest>
126 void SetRuleBasedMatching(RuleBasedMatchingT&& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = std::forward<RuleBasedMatchingT>(value); }
127 template<typename RuleBasedMatchingT = RuleBasedMatchingRequest>
128 UpdateDomainRequest& WithRuleBasedMatching(RuleBasedMatchingT&& value) { SetRuleBasedMatching(std::forward<RuleBasedMatchingT>(value)); return *this;}
130
132
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
139 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 UpdateDomainRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
141 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
142 UpdateDomainRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
143 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
144 }
146 private:
147
148 Aws::String m_domainName;
149 bool m_domainNameHasBeenSet = false;
150
151 int m_defaultExpirationDays{0};
152 bool m_defaultExpirationDaysHasBeenSet = false;
153
154 Aws::String m_defaultEncryptionKey;
155 bool m_defaultEncryptionKeyHasBeenSet = false;
156
157 Aws::String m_deadLetterQueueUrl;
158 bool m_deadLetterQueueUrlHasBeenSet = false;
159
160 MatchingRequest m_matching;
161 bool m_matchingHasBeenSet = false;
162
163 RuleBasedMatchingRequest m_ruleBasedMatching;
164 bool m_ruleBasedMatchingHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace CustomerProfiles
172} // namespace Aws
UpdateDomainRequest & WithMatching(MatchingT &&value)
UpdateDomainRequest & WithDefaultExpirationDays(int value)
void SetRuleBasedMatching(RuleBasedMatchingT &&value)
UpdateDomainRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CUSTOMERPROFILES_API UpdateDomainRequest()=default
const RuleBasedMatchingRequest & GetRuleBasedMatching() const
void SetDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
UpdateDomainRequest & WithDeadLetterQueueUrl(DeadLetterQueueUrlT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
UpdateDomainRequest & WithDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
UpdateDomainRequest & WithRuleBasedMatching(RuleBasedMatchingT &&value)
UpdateDomainRequest & WithDomainName(DomainNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetDefaultEncryptionKey(DefaultEncryptionKeyT &&value)
UpdateDomainRequest & WithTags(TagsT &&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