7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/UUID.h>
17namespace ResilienceHub
45 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
46 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
47 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
49 template<
typename AdditionalInfoKeyT = Aws::String,
typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
51 m_additionalInfoHasBeenSet =
true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
return *
this;
67 template<
typename AppArnT = Aws::String>
68 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet =
true; m_appArn = std::forward<AppArnT>(value); }
69 template<
typename AppArnT = Aws::String>
81 template<
typename ClientTokenT = Aws::String>
82 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
83 template<
typename ClientTokenT = Aws::String>
93 template<
typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
95 template<
typename IdT = Aws::String>
105 template<
typename NameT = Aws::String>
106 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
107 template<
typename NameT = Aws::String>
120 template<
typename TypeT = Aws::String>
121 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
122 template<
typename TypeT = Aws::String>
128 bool m_additionalInfoHasBeenSet =
false;
131 bool m_appArnHasBeenSet =
false;
134 bool m_clientTokenHasBeenSet =
true;
137 bool m_idHasBeenSet =
false;
140 bool m_nameHasBeenSet =
false;
143 bool m_typeHasBeenSet =
false;
CreateAppVersionAppComponentRequest & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
const Aws::String & GetClientToken() const
void SetName(NameT &&value)
const Aws::String & GetType() const
const Aws::String & GetName() const
void SetClientToken(ClientTokenT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
CreateAppVersionAppComponentRequest & WithClientToken(ClientTokenT &&value)
bool AppArnHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
const Aws::String & GetAppArn() const
CreateAppVersionAppComponentRequest & WithAppArn(AppArnT &&value)
virtual const char * GetServiceRequestName() const override
bool TypeHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
bool AdditionalInfoHasBeenSet() const
void SetAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentRequest()=default
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
CreateAppVersionAppComponentRequest & WithAdditionalInfo(AdditionalInfoT &&value)
CreateAppVersionAppComponentRequest & WithType(TypeT &&value)
bool ClientTokenHasBeenSet() const
CreateAppVersionAppComponentRequest & WithId(IdT &&value)
void SetType(TypeT &&value)
CreateAppVersionAppComponentRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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