7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/SsmSapRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm-sap/model/ApplicationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/ssm-sap/model/ApplicationCredential.h>
14#include <aws/ssm-sap/model/ComponentInfo.h>
46 template<
typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<
typename ApplicationIdT = Aws::String>
68 template<
typename InstancesT = Aws::Vector<Aws::String>>
69 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
70 template<
typename InstancesT = Aws::Vector<Aws::String>>
72 template<
typename InstancesT = Aws::String>
82 template<
typename SapInstanceNumberT = Aws::String>
83 void SetSapInstanceNumber(SapInstanceNumberT&& value) { m_sapInstanceNumberHasBeenSet =
true; m_sapInstanceNumber = std::forward<SapInstanceNumberT>(value); }
84 template<
typename SapInstanceNumberT = Aws::String>
94 template<
typename S
idT = Aws::String>
95 void SetSid(SidT&& value) { m_sidHasBeenSet =
true; m_sid = std::forward<SidT>(value); }
96 template<
typename S
idT = Aws::String>
106 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
108 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
112 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
122 template<
typename CredentialsT = Aws::Vector<ApplicationCredential>>
123 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
124 template<
typename CredentialsT = Aws::Vector<ApplicationCredential>>
126 template<
typename CredentialsT = ApplicationCredential>
136 template<
typename DatabaseArnT = Aws::String>
137 void SetDatabaseArn(DatabaseArnT&& value) { m_databaseArnHasBeenSet =
true; m_databaseArn = std::forward<DatabaseArnT>(value); }
138 template<
typename DatabaseArnT = Aws::String>
150 template<
typename ComponentsInfoT = Aws::Vector<ComponentInfo>>
151 void SetComponentsInfo(ComponentsInfoT&& value) { m_componentsInfoHasBeenSet =
true; m_componentsInfo = std::forward<ComponentsInfoT>(value); }
152 template<
typename ComponentsInfoT = Aws::Vector<ComponentInfo>>
154 template<
typename ComponentsInfoT = ComponentInfo>
160 bool m_applicationIdHasBeenSet =
false;
163 bool m_applicationTypeHasBeenSet =
false;
166 bool m_instancesHasBeenSet =
false;
169 bool m_sapInstanceNumberHasBeenSet =
false;
172 bool m_sidHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
178 bool m_credentialsHasBeenSet =
false;
181 bool m_databaseArnHasBeenSet =
false;
184 bool m_componentsInfoHasBeenSet =
false;
const Aws::String & GetApplicationId() const
AWS_SSMSAP_API Aws::String SerializePayload() const override
const Aws::String & GetDatabaseArn() const
RegisterApplicationRequest & WithSapInstanceNumber(SapInstanceNumberT &&value)
RegisterApplicationRequest & WithCredentials(CredentialsT &&value)
RegisterApplicationRequest & WithInstances(InstancesT &&value)
virtual const char * GetServiceRequestName() const override
bool DatabaseArnHasBeenSet() const
RegisterApplicationRequest & AddCredentials(CredentialsT &&value)
RegisterApplicationRequest & WithApplicationType(ApplicationType value)
void SetSapInstanceNumber(SapInstanceNumberT &&value)
RegisterApplicationRequest & WithSid(SidT &&value)
bool CredentialsHasBeenSet() const
RegisterApplicationRequest & WithApplicationId(ApplicationIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool InstancesHasBeenSet() const
const Aws::String & GetSapInstanceNumber() const
const Aws::Vector< ComponentInfo > & GetComponentsInfo() const
void SetComponentsInfo(ComponentsInfoT &&value)
RegisterApplicationRequest & WithComponentsInfo(ComponentsInfoT &&value)
bool ApplicationTypeHasBeenSet() const
void SetApplicationType(ApplicationType value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< ApplicationCredential > & GetCredentials() const
bool ComponentsInfoHasBeenSet() const
void SetInstances(InstancesT &&value)
void SetCredentials(CredentialsT &&value)
RegisterApplicationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetSid(SidT &&value)
RegisterApplicationRequest & WithDatabaseArn(DatabaseArnT &&value)
AWS_SSMSAP_API RegisterApplicationRequest()=default
const Aws::String & GetSid() const
RegisterApplicationRequest & AddComponentsInfo(ComponentsInfoT &&value)
RegisterApplicationRequest & WithTags(TagsT &&value)
ApplicationType GetApplicationType() const
bool TagsHasBeenSet() const
bool SidHasBeenSet() const
bool SapInstanceNumberHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstances() const
bool ApplicationIdHasBeenSet() const
void SetDatabaseArn(DatabaseArnT &&value)
RegisterApplicationRequest & AddInstances(InstancesT &&value)
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