AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateRegistryRequest.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControlRequest.h>
8#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
9#include <aws/agent-registry-control/model/UpdatedApprovalConfiguration.h>
10#include <aws/agent-registry-control/model/UpdatedAutoDetectionConfiguration.h>
11#include <aws/agent-registry-control/model/UpdatedCustomMetadataSchemaConfiguration.h>
12#include <aws/agent-registry-control/model/UpdatedDescription.h>
13#include <aws/agent-registry-control/model/UpdatedDiscoveryConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15
16#include <utility>
17
18namespace Aws {
19namespace AgentRegistryControl {
20namespace Model {
21
28 public:
29 AWS_AGENTREGISTRYCONTROL_API UpdateRegistryRequest() = default;
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 "UpdateRegistry"; }
36
37 AWS_AGENTREGISTRYCONTROL_API Aws::String SerializePayload() const override;
38
40
43 inline const Aws::String& GetRegistryId() const { return m_registryId; }
44 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
45 template <typename RegistryIdT = Aws::String>
46 void SetRegistryId(RegistryIdT&& value) {
47 m_registryIdHasBeenSet = true;
48 m_registryId = std::forward<RegistryIdT>(value);
49 }
50 template <typename RegistryIdT = Aws::String>
51 UpdateRegistryRequest& WithRegistryId(RegistryIdT&& value) {
52 SetRegistryId(std::forward<RegistryIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
79 inline const UpdatedDescription& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = UpdatedDescription>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = UpdatedDescription>
87 UpdateRegistryRequest& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
98 inline const UpdatedDiscoveryConfiguration& GetDiscoveryConfiguration() const { return m_discoveryConfiguration; }
99 inline bool DiscoveryConfigurationHasBeenSet() const { return m_discoveryConfigurationHasBeenSet; }
100 template <typename DiscoveryConfigurationT = UpdatedDiscoveryConfiguration>
101 void SetDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
102 m_discoveryConfigurationHasBeenSet = true;
103 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
104 }
105 template <typename DiscoveryConfigurationT = UpdatedDiscoveryConfiguration>
106 UpdateRegistryRequest& WithDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
107 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
108 return *this;
109 }
111
113
118 inline const UpdatedApprovalConfiguration& GetApprovalConfiguration() const { return m_approvalConfiguration; }
119 inline bool ApprovalConfigurationHasBeenSet() const { return m_approvalConfigurationHasBeenSet; }
120 template <typename ApprovalConfigurationT = UpdatedApprovalConfiguration>
121 void SetApprovalConfiguration(ApprovalConfigurationT&& value) {
122 m_approvalConfigurationHasBeenSet = true;
123 m_approvalConfiguration = std::forward<ApprovalConfigurationT>(value);
124 }
125 template <typename ApprovalConfigurationT = UpdatedApprovalConfiguration>
126 UpdateRegistryRequest& WithApprovalConfiguration(ApprovalConfigurationT&& value) {
127 SetApprovalConfiguration(std::forward<ApprovalConfigurationT>(value));
128 return *this;
129 }
131
133
141 return m_customMetadataSchemaConfiguration;
142 }
143 inline bool CustomMetadataSchemaConfigurationHasBeenSet() const { return m_customMetadataSchemaConfigurationHasBeenSet; }
144 template <typename CustomMetadataSchemaConfigurationT = UpdatedCustomMetadataSchemaConfiguration>
145 void SetCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT&& value) {
146 m_customMetadataSchemaConfigurationHasBeenSet = true;
147 m_customMetadataSchemaConfiguration = std::forward<CustomMetadataSchemaConfigurationT>(value);
148 }
149 template <typename CustomMetadataSchemaConfigurationT = UpdatedCustomMetadataSchemaConfiguration>
150 UpdateRegistryRequest& WithCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT&& value) {
151 SetCustomMetadataSchemaConfiguration(std::forward<CustomMetadataSchemaConfigurationT>(value));
152 return *this;
153 }
155
157
163 inline const UpdatedAutoDetectionConfiguration& GetAutoDetectionConfiguration() const { return m_autoDetectionConfiguration; }
164 inline bool AutoDetectionConfigurationHasBeenSet() const { return m_autoDetectionConfigurationHasBeenSet; }
165 template <typename AutoDetectionConfigurationT = UpdatedAutoDetectionConfiguration>
166 void SetAutoDetectionConfiguration(AutoDetectionConfigurationT&& value) {
167 m_autoDetectionConfigurationHasBeenSet = true;
168 m_autoDetectionConfiguration = std::forward<AutoDetectionConfigurationT>(value);
169 }
170 template <typename AutoDetectionConfigurationT = UpdatedAutoDetectionConfiguration>
171 UpdateRegistryRequest& WithAutoDetectionConfiguration(AutoDetectionConfigurationT&& value) {
172 SetAutoDetectionConfiguration(std::forward<AutoDetectionConfigurationT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_registryId;
178
179 Aws::String m_name;
180
181 UpdatedDescription m_description;
182
183 UpdatedDiscoveryConfiguration m_discoveryConfiguration;
184
185 UpdatedApprovalConfiguration m_approvalConfiguration;
186
187 UpdatedCustomMetadataSchemaConfiguration m_customMetadataSchemaConfiguration;
188
189 UpdatedAutoDetectionConfiguration m_autoDetectionConfiguration;
190 bool m_registryIdHasBeenSet = false;
191 bool m_nameHasBeenSet = false;
192 bool m_descriptionHasBeenSet = false;
193 bool m_discoveryConfigurationHasBeenSet = false;
194 bool m_approvalConfigurationHasBeenSet = false;
195 bool m_customMetadataSchemaConfigurationHasBeenSet = false;
196 bool m_autoDetectionConfigurationHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace AgentRegistryControl
201} // namespace Aws
void SetApprovalConfiguration(ApprovalConfigurationT &&value)
UpdateRegistryRequest & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
const UpdatedAutoDetectionConfiguration & GetAutoDetectionConfiguration() const
AWS_AGENTREGISTRYCONTROL_API UpdateRegistryRequest()=default
void SetAutoDetectionConfiguration(AutoDetectionConfigurationT &&value)
UpdateRegistryRequest & WithDescription(DescriptionT &&value)
void SetDiscoveryConfiguration(DiscoveryConfigurationT &&value)
UpdateRegistryRequest & WithCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
const UpdatedCustomMetadataSchemaConfiguration & GetCustomMetadataSchemaConfiguration() const
const UpdatedDiscoveryConfiguration & GetDiscoveryConfiguration() const
const UpdatedApprovalConfiguration & GetApprovalConfiguration() const
UpdateRegistryRequest & WithRegistryId(RegistryIdT &&value)
UpdateRegistryRequest & WithApprovalConfiguration(ApprovalConfigurationT &&value)
void SetCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
UpdateRegistryRequest & WithAutoDetectionConfiguration(AutoDetectionConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String