7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/AppSummary.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sms/model/ServerGroup.h>
12#include <aws/sms/model/Tag.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename AppSummaryT = AppSummary>
45 void SetAppSummary(AppSummaryT&& value) { m_appSummaryHasBeenSet =
true; m_appSummary = std::forward<AppSummaryT>(value); }
46 template<
typename AppSummaryT = AppSummary>
55 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
56 void SetServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups = std::forward<ServerGroupsT>(value); }
57 template<
typename ServerGroupsT = Aws::Vector<ServerGroup>>
59 template<
typename ServerGroupsT = ServerGroup>
60 CreateAppResult&
AddServerGroups(ServerGroupsT&& value) { m_serverGroupsHasBeenSet =
true; m_serverGroups.emplace_back(std::forward<ServerGroupsT>(value));
return *
this; }
68 template<
typename TagsT = Aws::Vector<Tag>>
69 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
70 template<
typename TagsT = Aws::Vector<Tag>>
72 template<
typename TagsT = Tag>
73 CreateAppResult&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
79 template<
typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
81 template<
typename RequestIdT = Aws::String>
87 bool m_appSummaryHasBeenSet =
false;
90 bool m_serverGroupsHasBeenSet =
false;
93 bool m_tagsHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
CreateAppResult & WithServerGroups(ServerGroupsT &&value)
void SetRequestId(RequestIdT &&value)
void SetTags(TagsT &&value)
void SetServerGroups(ServerGroupsT &&value)
CreateAppResult & WithTags(TagsT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< Tag > & GetTags() const
AWS_SMS_API CreateAppResult()=default
CreateAppResult & WithAppSummary(AppSummaryT &&value)
const AppSummary & GetAppSummary() const
CreateAppResult & WithRequestId(RequestIdT &&value)
AWS_SMS_API CreateAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppResult & AddTags(TagsT &&value)
AWS_SMS_API CreateAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAppSummary(AppSummaryT &&value)
const Aws::Vector< ServerGroup > & GetServerGroups() const
CreateAppResult & AddServerGroups(ServerGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue