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/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 CreateDomainRequest();
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 "CreateDomain"; }
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 CreateDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline CreateDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline CreateDomainRequest& 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
68 inline const Aws::String& GetDefaultEncryptionKey() const{ return m_defaultEncryptionKey; }
69 inline bool DefaultEncryptionKeyHasBeenSet() const { return m_defaultEncryptionKeyHasBeenSet; }
70 inline void SetDefaultEncryptionKey(const Aws::String& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = value; }
71 inline void SetDefaultEncryptionKey(Aws::String&& value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey = std::move(value); }
72 inline void SetDefaultEncryptionKey(const char* value) { m_defaultEncryptionKeyHasBeenSet = true; m_defaultEncryptionKey.assign(value); }
74 inline CreateDomainRequest& WithDefaultEncryptionKey(Aws::String&& value) { SetDefaultEncryptionKey(std::move(value)); return *this;}
75 inline CreateDomainRequest& WithDefaultEncryptionKey(const char* value) { SetDefaultEncryptionKey(value); return *this;}
77
79
85 inline const Aws::String& GetDeadLetterQueueUrl() const{ return m_deadLetterQueueUrl; }
86 inline bool DeadLetterQueueUrlHasBeenSet() const { return m_deadLetterQueueUrlHasBeenSet; }
87 inline void SetDeadLetterQueueUrl(const Aws::String& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = value; }
88 inline void SetDeadLetterQueueUrl(Aws::String&& value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl = std::move(value); }
89 inline void SetDeadLetterQueueUrl(const char* value) { m_deadLetterQueueUrlHasBeenSet = true; m_deadLetterQueueUrl.assign(value); }
90 inline CreateDomainRequest& WithDeadLetterQueueUrl(const Aws::String& value) { SetDeadLetterQueueUrl(value); return *this;}
91 inline CreateDomainRequest& WithDeadLetterQueueUrl(Aws::String&& value) { SetDeadLetterQueueUrl(std::move(value)); return *this;}
92 inline CreateDomainRequest& WithDeadLetterQueueUrl(const char* value) { SetDeadLetterQueueUrl(value); return *this;}
94
96
108 inline const MatchingRequest& GetMatching() const{ return m_matching; }
109 inline bool MatchingHasBeenSet() const { return m_matchingHasBeenSet; }
110 inline void SetMatching(const MatchingRequest& value) { m_matchingHasBeenSet = true; m_matching = value; }
111 inline void SetMatching(MatchingRequest&& value) { m_matchingHasBeenSet = true; m_matching = std::move(value); }
112 inline CreateDomainRequest& WithMatching(const MatchingRequest& value) { SetMatching(value); return *this;}
113 inline CreateDomainRequest& WithMatching(MatchingRequest&& value) { SetMatching(std::move(value)); return *this;}
115
117
127 inline const RuleBasedMatchingRequest& GetRuleBasedMatching() const{ return m_ruleBasedMatching; }
128 inline bool RuleBasedMatchingHasBeenSet() const { return m_ruleBasedMatchingHasBeenSet; }
129 inline void SetRuleBasedMatching(const RuleBasedMatchingRequest& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = value; }
130 inline void SetRuleBasedMatching(RuleBasedMatchingRequest&& value) { m_ruleBasedMatchingHasBeenSet = true; m_ruleBasedMatching = std::move(value); }
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
142 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 inline CreateDomainRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
144 inline CreateDomainRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline CreateDomainRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline CreateDomainRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline CreateDomainRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateDomainRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline CreateDomainRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline CreateDomainRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateDomainRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 private:
154
155 Aws::String m_domainName;
156 bool m_domainNameHasBeenSet = false;
157
158 int m_defaultExpirationDays;
159 bool m_defaultExpirationDaysHasBeenSet = false;
160
161 Aws::String m_defaultEncryptionKey;
162 bool m_defaultEncryptionKeyHasBeenSet = false;
163
164 Aws::String m_deadLetterQueueUrl;
165 bool m_deadLetterQueueUrlHasBeenSet = false;
166
167 MatchingRequest m_matching;
168 bool m_matchingHasBeenSet = false;
169
170 RuleBasedMatchingRequest m_ruleBasedMatching;
171 bool m_ruleBasedMatchingHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace CustomerProfiles
179} // namespace Aws
CreateDomainRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDomainRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainRequest & WithDomainName(Aws::String &&value)
CreateDomainRequest & WithDefaultExpirationDays(int value)
CreateDomainRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDomainRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainRequest & WithRuleBasedMatching(const RuleBasedMatchingRequest &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainRequest & WithDeadLetterQueueUrl(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRuleBasedMatching(RuleBasedMatchingRequest &&value)
CreateDomainRequest & WithDomainName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainRequest & AddTags(const char *key, const char *value)
CreateDomainRequest & WithMatching(MatchingRequest &&value)
void SetRuleBasedMatching(const RuleBasedMatchingRequest &value)
const RuleBasedMatchingRequest & GetRuleBasedMatching() const
CreateDomainRequest & WithDeadLetterQueueUrl(const char *value)
CreateDomainRequest & WithDefaultEncryptionKey(Aws::String &&value)
CreateDomainRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDomainRequest & WithDomainName(const char *value)
CreateDomainRequest & WithRuleBasedMatching(RuleBasedMatchingRequest &&value)
CreateDomainRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
CreateDomainRequest & WithMatching(const MatchingRequest &value)
CreateDomainRequest & AddTags(const char *key, Aws::String &&value)
CreateDomainRequest & WithDeadLetterQueueUrl(Aws::String &&value)
CreateDomainRequest & WithDefaultEncryptionKey(const Aws::String &value)
CreateDomainRequest & WithDefaultEncryptionKey(const char *value)
CreateDomainRequest & AddTags(Aws::String &&key, const char *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