AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePrivacyBudgetTemplateRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/PrivacyBudgetTemplateAutoRefresh.h>
11#include <aws/cleanrooms/model/PrivacyBudgetType.h>
12#include <aws/cleanrooms/model/PrivacyBudgetTemplateParametersInput.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreatePrivacyBudgetTemplate"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
46 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
47 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
48 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
49 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
54
56
65 inline const PrivacyBudgetTemplateAutoRefresh& GetAutoRefresh() const{ return m_autoRefresh; }
66 inline bool AutoRefreshHasBeenSet() const { return m_autoRefreshHasBeenSet; }
67 inline void SetAutoRefresh(const PrivacyBudgetTemplateAutoRefresh& value) { m_autoRefreshHasBeenSet = true; m_autoRefresh = value; }
68 inline void SetAutoRefresh(PrivacyBudgetTemplateAutoRefresh&& value) { m_autoRefreshHasBeenSet = true; m_autoRefresh = std::move(value); }
72
74
77 inline const PrivacyBudgetType& GetPrivacyBudgetType() const{ return m_privacyBudgetType; }
78 inline bool PrivacyBudgetTypeHasBeenSet() const { return m_privacyBudgetTypeHasBeenSet; }
79 inline void SetPrivacyBudgetType(const PrivacyBudgetType& value) { m_privacyBudgetTypeHasBeenSet = true; m_privacyBudgetType = value; }
80 inline void SetPrivacyBudgetType(PrivacyBudgetType&& value) { m_privacyBudgetTypeHasBeenSet = true; m_privacyBudgetType = std::move(value); }
84
86
89 inline const PrivacyBudgetTemplateParametersInput& GetParameters() const{ return m_parameters; }
90 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
91 inline void SetParameters(const PrivacyBudgetTemplateParametersInput& value) { m_parametersHasBeenSet = true; m_parameters = value; }
92 inline void SetParameters(PrivacyBudgetTemplateParametersInput&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
96
98
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
110 inline CreatePrivacyBudgetTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111 inline CreatePrivacyBudgetTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
112 inline CreatePrivacyBudgetTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreatePrivacyBudgetTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
114 inline CreatePrivacyBudgetTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline CreatePrivacyBudgetTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline CreatePrivacyBudgetTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 private:
119
120 Aws::String m_membershipIdentifier;
121 bool m_membershipIdentifierHasBeenSet = false;
122
124 bool m_autoRefreshHasBeenSet = false;
125
126 PrivacyBudgetType m_privacyBudgetType;
127 bool m_privacyBudgetTypeHasBeenSet = false;
128
130 bool m_parametersHasBeenSet = false;
131
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace CleanRooms
138} // namespace Aws
CreatePrivacyBudgetTemplateRequest & WithAutoRefresh(PrivacyBudgetTemplateAutoRefresh &&value)
CreatePrivacyBudgetTemplateRequest & WithPrivacyBudgetType(const PrivacyBudgetType &value)
CreatePrivacyBudgetTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetParameters(PrivacyBudgetTemplateParametersInput &&value)
void SetParameters(const PrivacyBudgetTemplateParametersInput &value)
CreatePrivacyBudgetTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePrivacyBudgetTemplateRequest & AddTags(const char *key, const char *value)
CreatePrivacyBudgetTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetAutoRefresh(const PrivacyBudgetTemplateAutoRefresh &value)
CreatePrivacyBudgetTemplateRequest & WithMembershipIdentifier(const char *value)
CreatePrivacyBudgetTemplateRequest & WithMembershipIdentifier(const Aws::String &value)
CreatePrivacyBudgetTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePrivacyBudgetTemplateRequest & WithMembershipIdentifier(Aws::String &&value)
CreatePrivacyBudgetTemplateRequest & WithParameters(const PrivacyBudgetTemplateParametersInput &value)
CreatePrivacyBudgetTemplateRequest & WithPrivacyBudgetType(PrivacyBudgetType &&value)
CreatePrivacyBudgetTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
const PrivacyBudgetTemplateParametersInput & GetParameters() const
CreatePrivacyBudgetTemplateRequest & WithAutoRefresh(const PrivacyBudgetTemplateAutoRefresh &value)
CreatePrivacyBudgetTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreatePrivacyBudgetTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePrivacyBudgetTemplateRequest & AddTags(Aws::String &&key, const char *value)
CreatePrivacyBudgetTemplateRequest & WithParameters(PrivacyBudgetTemplateParametersInput &&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