AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateMLInputChannelRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cleanroomsml/model/InputChannel.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CleanRoomsML
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLEANROOMSML_API CreateMLInputChannelRequest() = default;
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 "CreateMLInputChannel"; }
34
35 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
43 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
44 template<typename MembershipIdentifierT = Aws::String>
45 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
46 template<typename MembershipIdentifierT = Aws::String>
47 CreateMLInputChannelRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
49
51
55 inline const Aws::Vector<Aws::String>& GetConfiguredModelAlgorithmAssociations() const { return m_configuredModelAlgorithmAssociations; }
56 inline bool ConfiguredModelAlgorithmAssociationsHasBeenSet() const { return m_configuredModelAlgorithmAssociationsHasBeenSet; }
57 template<typename ConfiguredModelAlgorithmAssociationsT = Aws::Vector<Aws::String>>
58 void SetConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT&& value) { m_configuredModelAlgorithmAssociationsHasBeenSet = true; m_configuredModelAlgorithmAssociations = std::forward<ConfiguredModelAlgorithmAssociationsT>(value); }
59 template<typename ConfiguredModelAlgorithmAssociationsT = Aws::Vector<Aws::String>>
60 CreateMLInputChannelRequest& WithConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT&& value) { SetConfiguredModelAlgorithmAssociations(std::forward<ConfiguredModelAlgorithmAssociationsT>(value)); return *this;}
61 template<typename ConfiguredModelAlgorithmAssociationsT = Aws::String>
62 CreateMLInputChannelRequest& AddConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT&& value) { m_configuredModelAlgorithmAssociationsHasBeenSet = true; m_configuredModelAlgorithmAssociations.emplace_back(std::forward<ConfiguredModelAlgorithmAssociationsT>(value)); return *this; }
64
66
69 inline const InputChannel& GetInputChannel() const { return m_inputChannel; }
70 inline bool InputChannelHasBeenSet() const { return m_inputChannelHasBeenSet; }
71 template<typename InputChannelT = InputChannel>
72 void SetInputChannel(InputChannelT&& value) { m_inputChannelHasBeenSet = true; m_inputChannel = std::forward<InputChannelT>(value); }
73 template<typename InputChannelT = InputChannel>
74 CreateMLInputChannelRequest& WithInputChannel(InputChannelT&& value) { SetInputChannel(std::forward<InputChannelT>(value)); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 CreateMLInputChannelRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
93 inline int GetRetentionInDays() const { return m_retentionInDays; }
94 inline bool RetentionInDaysHasBeenSet() const { return m_retentionInDaysHasBeenSet; }
95 inline void SetRetentionInDays(int value) { m_retentionInDaysHasBeenSet = true; m_retentionInDays = value; }
96 inline CreateMLInputChannelRequest& WithRetentionInDays(int value) { SetRetentionInDays(value); return *this;}
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template<typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
107 template<typename DescriptionT = Aws::String>
108 CreateMLInputChannelRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
110
112
116 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
117 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
118 template<typename KmsKeyArnT = Aws::String>
119 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
120 template<typename KmsKeyArnT = Aws::String>
121 CreateMLInputChannelRequest& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
123
125
145 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
149 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 CreateMLInputChannelRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
151 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
152 CreateMLInputChannelRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
153 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
154 }
156 private:
157
158 Aws::String m_membershipIdentifier;
159 bool m_membershipIdentifierHasBeenSet = false;
160
161 Aws::Vector<Aws::String> m_configuredModelAlgorithmAssociations;
162 bool m_configuredModelAlgorithmAssociationsHasBeenSet = false;
163
164 InputChannel m_inputChannel;
165 bool m_inputChannelHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 int m_retentionInDays{0};
171 bool m_retentionInDaysHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
176 Aws::String m_kmsKeyArn;
177 bool m_kmsKeyArnHasBeenSet = false;
178
180 bool m_tagsHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace CleanRoomsML
185} // namespace Aws
CreateMLInputChannelRequest & WithInputChannel(InputChannelT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT &&value)
CreateMLInputChannelRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetConfiguredModelAlgorithmAssociations() const
CreateMLInputChannelRequest & WithName(NameT &&value)
CreateMLInputChannelRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
CreateMLInputChannelRequest & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
CreateMLInputChannelRequest & WithConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT &&value)
CreateMLInputChannelRequest & WithTags(TagsT &&value)
CreateMLInputChannelRequest & WithRetentionInDays(int value)
CreateMLInputChannelRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateMLInputChannelRequest & AddConfiguredModelAlgorithmAssociations(ConfiguredModelAlgorithmAssociationsT &&value)
AWS_CLEANROOMSML_API CreateMLInputChannelRequest()=default
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