AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAnalysisTemplateRequest.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/AnalysisFormat.h>
11#include <aws/cleanrooms/model/AnalysisSource.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/cleanrooms/model/AnalysisParameter.h>
15#include <utility>
16
17namespace Aws
18{
19namespace CleanRooms
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLEANROOMS_API CreateAnalysisTemplateRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAnalysisTemplate"; }
36
37 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetDescription() const{ return m_description; }
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
47 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
48 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
49 inline CreateAnalysisTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
50 inline CreateAnalysisTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
51 inline CreateAnalysisTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
53
55
58 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
59 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
60 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
61 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
62 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
65 inline CreateAnalysisTemplateRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline CreateAnalysisTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline CreateAnalysisTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline CreateAnalysisTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
81
83
86 inline const AnalysisFormat& GetFormat() const{ return m_format; }
87 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
88 inline void SetFormat(const AnalysisFormat& value) { m_formatHasBeenSet = true; m_format = value; }
89 inline void SetFormat(AnalysisFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
90 inline CreateAnalysisTemplateRequest& WithFormat(const AnalysisFormat& value) { SetFormat(value); return *this;}
91 inline CreateAnalysisTemplateRequest& WithFormat(AnalysisFormat&& value) { SetFormat(std::move(value)); return *this;}
93
95
99 inline const AnalysisSource& GetSource() const{ return m_source; }
100 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
101 inline void SetSource(const AnalysisSource& value) { m_sourceHasBeenSet = true; m_source = value; }
102 inline void SetSource(AnalysisSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
103 inline CreateAnalysisTemplateRequest& WithSource(const AnalysisSource& value) { SetSource(value); return *this;}
104 inline CreateAnalysisTemplateRequest& WithSource(AnalysisSource&& value) { SetSource(std::move(value)); return *this;}
106
108
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline CreateAnalysisTemplateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline CreateAnalysisTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline CreateAnalysisTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline CreateAnalysisTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreateAnalysisTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline CreateAnalysisTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline CreateAnalysisTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline CreateAnalysisTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128
130
133 inline const Aws::Vector<AnalysisParameter>& GetAnalysisParameters() const{ return m_analysisParameters; }
134 inline bool AnalysisParametersHasBeenSet() const { return m_analysisParametersHasBeenSet; }
135 inline void SetAnalysisParameters(const Aws::Vector<AnalysisParameter>& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters = value; }
136 inline void SetAnalysisParameters(Aws::Vector<AnalysisParameter>&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters = std::move(value); }
139 inline CreateAnalysisTemplateRequest& AddAnalysisParameters(const AnalysisParameter& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters.push_back(value); return *this; }
140 inline CreateAnalysisTemplateRequest& AddAnalysisParameters(AnalysisParameter&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters.push_back(std::move(value)); return *this; }
142 private:
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::String m_membershipIdentifier;
148 bool m_membershipIdentifierHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 AnalysisFormat m_format;
154 bool m_formatHasBeenSet = false;
155
156 AnalysisSource m_source;
157 bool m_sourceHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161
162 Aws::Vector<AnalysisParameter> m_analysisParameters;
163 bool m_analysisParametersHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace CleanRooms
168} // namespace Aws
CreateAnalysisTemplateRequest & WithDescription(Aws::String &&value)
CreateAnalysisTemplateRequest & WithDescription(const char *value)
CreateAnalysisTemplateRequest & WithMembershipIdentifier(const char *value)
CreateAnalysisTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAnalysisParameters(Aws::Vector< AnalysisParameter > &&value)
CreateAnalysisTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAnalysisTemplateRequest & WithAnalysisParameters(const Aws::Vector< AnalysisParameter > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAnalysisParameters(const Aws::Vector< AnalysisParameter > &value)
CreateAnalysisTemplateRequest & AddAnalysisParameters(AnalysisParameter &&value)
CreateAnalysisTemplateRequest & WithAnalysisParameters(Aws::Vector< AnalysisParameter > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAnalysisTemplateRequest & WithName(Aws::String &&value)
CreateAnalysisTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAnalysisTemplateRequest & AddTags(const char *key, const char *value)
CreateAnalysisTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateAnalysisTemplateRequest & WithMembershipIdentifier(const Aws::String &value)
CreateAnalysisTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAnalysisTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAnalysisTemplateRequest & WithSource(const AnalysisSource &value)
CreateAnalysisTemplateRequest & WithFormat(AnalysisFormat &&value)
CreateAnalysisTemplateRequest & WithMembershipIdentifier(Aws::String &&value)
CreateAnalysisTemplateRequest & WithSource(AnalysisSource &&value)
const Aws::Vector< AnalysisParameter > & GetAnalysisParameters() const
CreateAnalysisTemplateRequest & WithDescription(const Aws::String &value)
CreateAnalysisTemplateRequest & WithFormat(const AnalysisFormat &value)
CreateAnalysisTemplateRequest & AddAnalysisParameters(const AnalysisParameter &value)
CreateAnalysisTemplateRequest & WithName(const char *value)
CreateAnalysisTemplateRequest & AddTags(Aws::String &&key, const char *value)
CreateAnalysisTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAnalysisTemplateRequest & WithName(const Aws::String &value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
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
std::vector< T, Aws::Allocator< T > > Vector