AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAppResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SMS
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SMS_API CreateAppResult();
37
38
40
43 inline const AppSummary& GetAppSummary() const{ return m_appSummary; }
44 inline void SetAppSummary(const AppSummary& value) { m_appSummary = value; }
45 inline void SetAppSummary(AppSummary&& value) { m_appSummary = std::move(value); }
46 inline CreateAppResult& WithAppSummary(const AppSummary& value) { SetAppSummary(value); return *this;}
47 inline CreateAppResult& WithAppSummary(AppSummary&& value) { SetAppSummary(std::move(value)); return *this;}
49
51
54 inline const Aws::Vector<ServerGroup>& GetServerGroups() const{ return m_serverGroups; }
55 inline void SetServerGroups(const Aws::Vector<ServerGroup>& value) { m_serverGroups = value; }
56 inline void SetServerGroups(Aws::Vector<ServerGroup>&& value) { m_serverGroups = std::move(value); }
57 inline CreateAppResult& WithServerGroups(const Aws::Vector<ServerGroup>& value) { SetServerGroups(value); return *this;}
58 inline CreateAppResult& WithServerGroups(Aws::Vector<ServerGroup>&& value) { SetServerGroups(std::move(value)); return *this;}
59 inline CreateAppResult& AddServerGroups(const ServerGroup& value) { m_serverGroups.push_back(value); return *this; }
60 inline CreateAppResult& AddServerGroups(ServerGroup&& value) { m_serverGroups.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
68 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
69 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
70 inline CreateAppResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
71 inline CreateAppResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
72 inline CreateAppResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
73 inline CreateAppResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline CreateAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline CreateAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline CreateAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 AppSummary m_appSummary;
89
90 Aws::Vector<ServerGroup> m_serverGroups;
91
92 Aws::Vector<Tag> m_tags;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace SMS
99} // namespace Aws
CreateAppResult & WithTags(const Aws::Vector< Tag > &value)
void SetRequestId(Aws::String &&value)
CreateAppResult & WithServerGroups(Aws::Vector< ServerGroup > &&value)
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
CreateAppResult & WithAppSummary(AppSummary &&value)
const Aws::Vector< Tag > & GetTags() const
void SetRequestId(const Aws::String &value)
void SetServerGroups(Aws::Vector< ServerGroup > &&value)
CreateAppResult & WithRequestId(const char *value)
CreateAppResult & WithRequestId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateAppResult & AddServerGroups(ServerGroup &&value)
void SetAppSummary(const AppSummary &value)
const AppSummary & GetAppSummary() const
CreateAppResult & WithServerGroups(const Aws::Vector< ServerGroup > &value)
AWS_SMS_API CreateAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppResult & WithAppSummary(const AppSummary &value)
CreateAppResult & AddServerGroups(const ServerGroup &value)
CreateAppResult & WithTags(Aws::Vector< Tag > &&value)
CreateAppResult & AddTags(Tag &&value)
AWS_SMS_API CreateAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppResult & WithRequestId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateAppResult & AddTags(const Tag &value)
void SetAppSummary(AppSummary &&value)
const Aws::Vector< ServerGroup > & GetServerGroups() const
void SetServerGroups(const Aws::Vector< ServerGroup > &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