7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog/model/ServiceActionDefinitionType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/servicecatalog/model/ServiceActionDefinitionKey.h>
14#include <aws/core/utils/UUID.h>
18namespace ServiceCatalog
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
84 template<
typename DefinitionT = Aws::Map<ServiceActionDefinitionKey, Aws::String>>
85 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
86 template<
typename DefinitionT = Aws::Map<ServiceActionDefinitionKey, Aws::String>>
89 m_definitionHasBeenSet =
true; m_definition.emplace(key, value);
return *
this;
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
112 template<
typename AcceptLanguageT = Aws::String>
113 void SetAcceptLanguage(AcceptLanguageT&& value) { m_acceptLanguageHasBeenSet =
true; m_acceptLanguage = std::forward<AcceptLanguageT>(value); }
114 template<
typename AcceptLanguageT = Aws::String>
126 template<
typename IdempotencyTokenT = Aws::String>
127 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
128 template<
typename IdempotencyTokenT = Aws::String>
134 bool m_nameHasBeenSet =
false;
137 bool m_definitionTypeHasBeenSet =
false;
140 bool m_definitionHasBeenSet =
false;
143 bool m_descriptionHasBeenSet =
false;
146 bool m_acceptLanguageHasBeenSet =
false;
149 bool m_idempotencyTokenHasBeenSet =
true;
bool DefinitionHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
CreateServiceActionRequest & WithDefinition(DefinitionT &&value)
bool DescriptionHasBeenSet() const
bool AcceptLanguageHasBeenSet() const
void SetAcceptLanguage(AcceptLanguageT &&value)
AWS_SERVICECATALOG_API CreateServiceActionRequest()=default
const Aws::String & GetAcceptLanguage() const
CreateServiceActionRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetIdempotencyToken() const
bool IdempotencyTokenHasBeenSet() const
bool DefinitionTypeHasBeenSet() const
const Aws::Map< ServiceActionDefinitionKey, Aws::String > & GetDefinition() const
void SetDefinitionType(ServiceActionDefinitionType value)
void SetIdempotencyToken(IdempotencyTokenT &&value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
CreateServiceActionRequest & WithName(NameT &&value)
CreateServiceActionRequest & WithAcceptLanguage(AcceptLanguageT &&value)
CreateServiceActionRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
void SetDefinition(DefinitionT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
CreateServiceActionRequest & WithDefinitionType(ServiceActionDefinitionType value)
ServiceActionDefinitionType GetDefinitionType() const
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
CreateServiceActionRequest & AddDefinition(ServiceActionDefinitionKey key, Aws::String value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ServiceActionDefinitionKey
ServiceActionDefinitionType
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