AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/AnalysisSchema.h>
15#include <aws/cleanrooms/model/AnalysisParameter.h>
16#include <utility>
17
18namespace Aws
19{
20namespace CleanRooms
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_CLEANROOMS_API CreateAnalysisTemplateRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateAnalysisTemplate"; }
37
38 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetDescription() const { return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 template<typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
49 template<typename DescriptionT = Aws::String>
50 CreateAnalysisTemplateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
58 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
59 template<typename MembershipIdentifierT = Aws::String>
60 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
61 template<typename MembershipIdentifierT = Aws::String>
62 CreateAnalysisTemplateRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 CreateAnalysisTemplateRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline AnalysisFormat GetFormat() const { return m_format; }
82 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
83 inline void SetFormat(AnalysisFormat value) { m_formatHasBeenSet = true; m_format = value; }
84 inline CreateAnalysisTemplateRequest& WithFormat(AnalysisFormat value) { SetFormat(value); return *this;}
86
88
92 inline const AnalysisSource& GetSource() const { return m_source; }
93 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
94 template<typename SourceT = AnalysisSource>
95 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
96 template<typename SourceT = AnalysisSource>
97 CreateAnalysisTemplateRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
99
101
107 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
108 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
109 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 CreateAnalysisTemplateRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
113 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 CreateAnalysisTemplateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
116 }
118
120
123 inline const Aws::Vector<AnalysisParameter>& GetAnalysisParameters() const { return m_analysisParameters; }
124 inline bool AnalysisParametersHasBeenSet() const { return m_analysisParametersHasBeenSet; }
125 template<typename AnalysisParametersT = Aws::Vector<AnalysisParameter>>
126 void SetAnalysisParameters(AnalysisParametersT&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters = std::forward<AnalysisParametersT>(value); }
127 template<typename AnalysisParametersT = Aws::Vector<AnalysisParameter>>
128 CreateAnalysisTemplateRequest& WithAnalysisParameters(AnalysisParametersT&& value) { SetAnalysisParameters(std::forward<AnalysisParametersT>(value)); return *this;}
129 template<typename AnalysisParametersT = AnalysisParameter>
130 CreateAnalysisTemplateRequest& AddAnalysisParameters(AnalysisParametersT&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters.emplace_back(std::forward<AnalysisParametersT>(value)); return *this; }
132
134
135 inline const AnalysisSchema& GetSchema() const { return m_schema; }
136 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
137 template<typename SchemaT = AnalysisSchema>
138 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
139 template<typename SchemaT = AnalysisSchema>
140 CreateAnalysisTemplateRequest& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(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
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 AnalysisSchema m_schema;
166 bool m_schemaHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace CleanRooms
171} // namespace Aws
CreateAnalysisTemplateRequest & WithSchema(SchemaT &&value)
CreateAnalysisTemplateRequest & WithDescription(DescriptionT &&value)
CreateAnalysisTemplateRequest & WithFormat(AnalysisFormat value)
AWS_CLEANROOMS_API CreateAnalysisTemplateRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAnalysisTemplateRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
const Aws::Vector< AnalysisParameter > & GetAnalysisParameters() const
CreateAnalysisTemplateRequest & WithSource(SourceT &&value)
CreateAnalysisTemplateRequest & WithName(NameT &&value)
CreateAnalysisTemplateRequest & WithAnalysisParameters(AnalysisParametersT &&value)
CreateAnalysisTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAnalysisTemplateRequest & WithTags(TagsT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateAnalysisTemplateRequest & AddAnalysisParameters(AnalysisParametersT &&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
std::vector< T, Aws::Allocator< T > > Vector