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 AppIdT = Aws::String>
47 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
48 template<
typename AppIdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
83 template<
typename RoleNameT = Aws::String>
84 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
85 template<
typename RoleNameT = Aws::String>
95 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
96 void SetServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups = std::forward<ServerGroupsT>(value); }
97 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
99 template<
typename ServerGroupsT = ServerGroup>
100 UpdateAppRequest&
AddServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups.emplace_back(std::forward<ServerGroupsT>(value));
return *
this; }
109 template<
typename TagsT = Aws::Vector<Tag>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
111 template<
typename TagsT = Aws::Vector<Tag>>
113 template<
typename TagsT = Tag>
114 UpdateAppRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
119 bool m_appIdHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_descriptionHasBeenSet =
false;
128 bool m_roleNameHasBeenSet =
false;
131 bool m_serverGroupsHasBeenSet =
false;
134 bool m_tagsHasBeenSet =
false;
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRoleName() const
bool TagsHasBeenSet() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
void SetAppId(AppIdT &&value)
bool RoleNameHasBeenSet() const
void SetName(NameT &&value)
const Aws::Vector< ServerGroup > & GetServerGroups() const
void SetRoleName(RoleNameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetAppId() const
UpdateAppRequest & WithTags(TagsT &&value)
UpdateAppRequest & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
UpdateAppRequest & AddTags(TagsT &&value)
UpdateAppRequest & WithAppId(AppIdT &&value)
UpdateAppRequest & AddServerGroups(ServerGroupsT &&value)
bool AppIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateAppRequest & WithServerGroups(ServerGroupsT &&value)
bool NameHasBeenSet() const
void SetServerGroups(ServerGroupsT &&value)
UpdateAppRequest & WithRoleName(RoleNameT &&value)
void SetTags(TagsT &&value)
bool ServerGroupsHasBeenSet() const
AWS_SMS_API UpdateAppRequest()=default
UpdateAppRequest & WithDescription(DescriptionT &&value)
AWS_SMS_API Aws::String SerializePayload() const override
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