AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
47 inline UpdateDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline UpdateDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline UpdateDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
56 inline int GetDefaultExpirationDays() const{ return m_defaultExpirationDays; }
57 inline bool DefaultExpirationDaysHasBeenSet() const { return m_defaultExpirationDaysHasBeenSet; }
58 inline void SetDefaultExpirationDays(int value) { m_defaultExpirationDaysHasBeenSet = true; m_defaultExpirationDays = value; }
61
63
69 inline const Aws::String& GetDefaultEncryptionKey() const{ return m_defaultEncryptionKey; }
70 inline bool DefaultEncryptionKeyHasBeenSet() const { return m_defaultEncryptionKeyHasBeenSet; }
71 inline void SetDefaultEncryptionKey(const Aws::String& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = value; }
72 inline void SetDefaultEncryptionKey(Aws::String&& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = std::move(value); }
73 inline void SetDefaultEncryptionKey(const char* value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey.assign(value); }
75 inline UpdateDomainRequest& WithDefaultEncryptionKey(Aws::String&& value) { SetDefaultEncryptionKey(std::move(value)); return *this;}
76 inline UpdateDomainRequest& WithDefaultEncryptionKey(const char* value) { SetDefaultEncryptionKey(value); return *this;}
78
80
87 inline const Aws::String& GetDeadLetterQueueUrl() const{ return m_deadLetterQueueUrl; }
88 inline bool DeadLetterQueueUrlHasBeenSet() const { return m_deadLetterQueueUrlHasBeenSet; }
89 inline void SetDeadLetterQueueUrl(const Aws::String& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = value; }
90 inline void SetDeadLetterQueueUrl(Aws::String&& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = std::move(value); }
91 inline void SetDeadLetterQueueUrl(const char* value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl.assign(value); }
92 inline UpdateDomainRequest& WithDeadLetterQueueUrl(const Aws::String& value) { SetDeadLetterQueueUrl(value); return *this;}
93 inline UpdateDomainRequest& WithDeadLetterQueueUrl(Aws::String&& value) { SetDeadLetterQueueUrl(std::move(value)); return *this;}
94 inline UpdateDomainRequest& WithDeadLetterQueueUrl(const char* value) { SetDeadLetterQueueUrl(value); return *this;}
96
98
110 inline const MatchingRequest& GetMatching() const{ return m_matching; }
111 inline bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; }
112 inline void SetMatching(const MatchingRequest& value) { m_matchingHasBeenSet = true; m_matching = value; }
113 inline void SetMatching(MatchingRequest&& value) { m_matchingHasBeenSet = true; m_matching = std::move(value); }
114 inline UpdateDomainRequest& WithMatching(const MatchingRequest& value) { SetMatching(value); return *this;}
115 inline UpdateDomainRequest& WithMatching(MatchingRequest&& value) { SetMatching(std::move(value)); return *this;}
117
119
129 inline const RuleBasedMatchingRequest& GetRuleBasedMatching() const{ return m_ruleBasedMatching; }
130 inline bool RuleBasedMatchingHasBeenSet() const { return m_ruleBasedMatchingHasBeenSet; }
131 inline void SetRuleBasedMatching(const RuleBasedMatchingRequest& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = value; }
132 inline void SetRuleBasedMatching(RuleBasedMatchingRequest&& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = std::move(value); }
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
142 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
143 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
144 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
145 inline UpdateDomainRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
146 inline UpdateDomainRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
147 inline UpdateDomainRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
148 inline UpdateDomainRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
149 inline UpdateDomainRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline UpdateDomainRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
151 inline UpdateDomainRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline UpdateDomainRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
153 inline UpdateDomainRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
155 private:
156
157 Aws::String m_domainName;
158 bool m_domainNameHasBeenSet = false;
159
160 int m_defaultExpirationDays;
161 bool m_defaultExpirationDaysHasBeenSet = false;
162
163 Aws::String m_defaultEncryptionKey;
164 bool m_defaultEncryptionKeyHasBeenSet = false;
165
166 Aws::String m_deadLetterQueueUrl;
167 bool m_deadLetterQueueUrlHasBeenSet = false;
168
169 MatchingRequest m_matching;
170 bool m_matchingHasBeenSet = false;
171
172 RuleBasedMatchingRequest m_ruleBasedMatching;
173 bool m_ruleBasedMatchingHasBeenSet = false;
174
176 bool m_tagsHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace CustomerProfiles
181} // namespace Aws
UpdateDomainRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDomainRequest & WithDefaultEncryptionKey(const Aws::String &value)
void SetRuleBasedMatching(RuleBasedMatchingRequest &&value)
UpdateDomainRequest & WithDefaultExpirationDays(int value)
UpdateDomainRequest & AddTags(Aws::String &&key, Aws::String &&value)
UpdateDomainRequest & WithDomainName(Aws::String &&value)
const RuleBasedMatchingRequest & GetRuleBasedMatching() const
UpdateDomainRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDomainRequest & WithDefaultEncryptionKey(const char *value)
UpdateDomainRequest & WithMatching(MatchingRequest &&value)
UpdateDomainRequest & AddTags(Aws::String &&key, const char *value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
UpdateDomainRequest & AddTags(Aws::String &&key, const Aws::String &value)
UpdateDomainRequest & WithDeadLetterQueueUrl(const char *value)
UpdateDomainRequest & AddTags(const char *key, Aws::String &&value)
UpdateDomainRequest & WithDomainName(const Aws::String &value)
UpdateDomainRequest & WithDomainName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDomainRequest & WithDeadLetterQueueUrl(const Aws::String &value)
UpdateDomainRequest & AddTags(const Aws::String &key, Aws::String &&value)
UpdateDomainRequest & AddTags(const Aws::String &key, const Aws::String &value)
UpdateDomainRequest & WithDeadLetterQueueUrl(Aws::String &&value)
void SetRuleBasedMatching(const RuleBasedMatchingRequest &value)
UpdateDomainRequest & WithRuleBasedMatching(RuleBasedMatchingRequest &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateDomainRequest & WithDefaultEncryptionKey(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDomainRequest & WithMatching(const MatchingRequest &value)
virtual const char * GetServiceRequestName() const override
UpdateDomainRequest & AddTags(const char *key, const char *value)
UpdateDomainRequest & WithRuleBasedMatching(const RuleBasedMatchingRequest &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