7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgentRequest.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/PostRegisterServiceSupportedService.h>
12#include <aws/devops-agent/model/ServiceDetails.h>
17namespace DevOpsAgent {
43 m_serviceHasBeenSet =
true;
58 template <
typename ServiceDetailsT = ServiceDetails>
60 m_serviceDetailsHasBeenSet =
true;
61 m_serviceDetails = std::forward<ServiceDetailsT>(value);
63 template <
typename ServiceDetailsT = ServiceDetails>
77 template <
typename KmsKeyArnT = Aws::String>
79 m_kmsKeyArnHasBeenSet =
true;
80 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
82 template <
typename KmsKeyArnT = Aws::String>
95 template <
typename PrivateConnectionNameT = Aws::String>
97 m_privateConnectionNameHasBeenSet =
true;
98 m_privateConnectionName = std::forward<PrivateConnectionNameT>(value);
100 template <
typename PrivateConnectionNameT = Aws::String>
113 template <
typename NameT = Aws::String>
115 m_nameHasBeenSet =
true;
116 m_name = std::forward<NameT>(value);
118 template <
typename NameT = Aws::String>
120 SetName(std::forward<NameT>(value));
131 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 m_tagsHasBeenSet =
true;
134 m_tags = std::forward<TagsT>(value);
136 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 SetTags(std::forward<TagsT>(value));
141 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
143 m_tagsHasBeenSet =
true;
144 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
151 ServiceDetails m_serviceDetails;
160 bool m_serviceHasBeenSet =
false;
161 bool m_serviceDetailsHasBeenSet =
false;
162 bool m_kmsKeyArnHasBeenSet =
false;
163 bool m_privateConnectionNameHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool NameHasBeenSet() const
RegisterServiceRequest & WithService(PostRegisterServiceSupportedService value)
const Aws::String & GetKmsKeyArn() const
RegisterServiceRequest & WithServiceDetails(ServiceDetailsT &&value)
bool KmsKeyArnHasBeenSet() const
RegisterServiceRequest & WithTags(TagsT &&value)
void SetService(PostRegisterServiceSupportedService value)
void SetTags(TagsT &&value)
PostRegisterServiceSupportedService GetService() const
bool PrivateConnectionNameHasBeenSet() const
RegisterServiceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const ServiceDetails & GetServiceDetails() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
RegisterServiceRequest & WithName(NameT &&value)
void SetPrivateConnectionName(PrivateConnectionNameT &&value)
void SetServiceDetails(ServiceDetailsT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
bool ServiceDetailsHasBeenSet() const
RegisterServiceRequest & WithKmsKeyArn(KmsKeyArnT &&value)
RegisterServiceRequest & WithPrivateConnectionName(PrivateConnectionNameT &&value)
AWS_DEVOPSAGENT_API RegisterServiceRequest()=default
const Aws::String & GetPrivateConnectionName() const
const Aws::String & GetName() const
void SetName(NameT &&value)
bool ServiceHasBeenSet() const
PostRegisterServiceSupportedService
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