7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sms/model/ServerGroup.h>
12#include <aws/sms/model/Tag.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
71 template<
typename RoleNameT = Aws::String>
72 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
73 template<
typename RoleNameT = Aws::String>
84 template<
typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
86 template<
typename ClientTokenT = Aws::String>
96 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
97 void SetServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups = std::forward<ServerGroupsT>(value); }
98 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
100 template<
typename ServerGroupsT = ServerGroup>
101 CreateAppRequest&
AddServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups.emplace_back(std::forward<ServerGroupsT>(value));
return *
this; }
110 template<
typename TagsT = Aws::Vector<Tag>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Vector<Tag>>
114 template<
typename TagsT = Tag>
115 CreateAppRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
120 bool m_nameHasBeenSet =
false;
123 bool m_descriptionHasBeenSet =
false;
126 bool m_roleNameHasBeenSet =
false;
129 bool m_clientTokenHasBeenSet =
false;
132 bool m_serverGroupsHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
false;
CreateAppRequest & AddTags(TagsT &&value)
CreateAppRequest & WithRoleName(RoleNameT &&value)
bool ServerGroupsHasBeenSet() const
CreateAppRequest & WithTags(TagsT &&value)
CreateAppRequest & AddServerGroups(ServerGroupsT &&value)
void SetClientToken(ClientTokenT &&value)
bool DescriptionHasBeenSet() const
CreateAppRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
void SetServerGroups(ServerGroupsT &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< Tag > & GetTags() const
bool NameHasBeenSet() const
const Aws::Vector< ServerGroup > & GetServerGroups() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
void SetRoleName(RoleNameT &&value)
CreateAppRequest & WithDescription(DescriptionT &&value)
AWS_SMS_API CreateAppRequest()=default
void SetName(NameT &&value)
AWS_SMS_API Aws::String SerializePayload() const override
CreateAppRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetRoleName() const
CreateAppRequest & WithServerGroups(ServerGroupsT &&value)
bool ClientTokenHasBeenSet() const
bool RoleNameHasBeenSet() const
const Aws::String & GetName() const
void SetTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector