7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm-sap/SsmSapRequest.h>
11#include <aws/ssm-sap/SsmSap_EXPORTS.h>
12#include <aws/ssm-sap/model/ApplicationCredential.h>
13#include <aws/ssm-sap/model/ApplicationType.h>
14#include <aws/ssm-sap/model/ComponentInfo.h>
42 template <
typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet =
true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
47 template <
typename ApplicationIdT = Aws::String>
61 m_applicationTypeHasBeenSet =
true;
62 m_applicationType = value;
76 template <
typename InstancesT = Aws::Vector<Aws::String>>
78 m_instancesHasBeenSet =
true;
79 m_instances = std::forward<InstancesT>(value);
81 template <
typename InstancesT = Aws::Vector<Aws::String>>
86 template <
typename InstancesT = Aws::String>
88 m_instancesHasBeenSet =
true;
89 m_instances.emplace_back(std::forward<InstancesT>(value));
100 template <
typename SapInstanceNumberT = Aws::String>
102 m_sapInstanceNumberHasBeenSet =
true;
103 m_sapInstanceNumber = std::forward<SapInstanceNumberT>(value);
105 template <
typename SapInstanceNumberT = Aws::String>
118 template <
typename S
idT = Aws::String>
120 m_sidHasBeenSet =
true;
121 m_sid = std::forward<SidT>(value);
123 template <
typename S
idT = Aws::String>
125 SetSid(std::forward<SidT>(value));
136 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
160 template <
typename CredentialsT = Aws::Vector<ApplicationCredential>>
162 m_credentialsHasBeenSet =
true;
163 m_credentials = std::forward<CredentialsT>(value);
165 template <
typename CredentialsT = Aws::Vector<ApplicationCredential>>
170 template <
typename CredentialsT = ApplicationCredential>
172 m_credentialsHasBeenSet =
true;
173 m_credentials.emplace_back(std::forward<CredentialsT>(value));
184 template <
typename DatabaseArnT = Aws::String>
186 m_databaseArnHasBeenSet =
true;
187 m_databaseArn = std::forward<DatabaseArnT>(value);
189 template <
typename DatabaseArnT = Aws::String>
204 template <
typename ComponentsInfoT = Aws::Vector<ComponentInfo>>
206 m_componentsInfoHasBeenSet =
true;
207 m_componentsInfo = std::forward<ComponentsInfoT>(value);
209 template <
typename ComponentsInfoT = Aws::Vector<ComponentInfo>>
214 template <
typename ComponentsInfoT = ComponentInfo>
216 m_componentsInfoHasBeenSet =
true;
217 m_componentsInfo.emplace_back(std::forward<ComponentsInfoT>(value));
239 bool m_applicationIdHasBeenSet =
false;
240 bool m_applicationTypeHasBeenSet =
false;
241 bool m_instancesHasBeenSet =
false;
242 bool m_sapInstanceNumberHasBeenSet =
false;
243 bool m_sidHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
245 bool m_credentialsHasBeenSet =
false;
246 bool m_databaseArnHasBeenSet =
false;
247 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