AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAppResult.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 GetAppResult();
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 GetAppResult& WithAppSummary(const AppSummary& value) { SetAppSummary(value); return *this;}
47 inline GetAppResult& 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 GetAppResult& WithServerGroups(const Aws::Vector<ServerGroup>& value) { SetServerGroups(value); return *this;}
58 inline GetAppResult& WithServerGroups(Aws::Vector<ServerGroup>&& value) { SetServerGroups(std::move(value)); return *this;}
59 inline GetAppResult& AddServerGroups(const ServerGroup& value) { m_serverGroups.push_back(value); return *this; }
60 inline GetAppResult& 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 GetAppResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
71 inline GetAppResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
72 inline GetAppResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
73 inline GetAppResult& 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 GetAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline GetAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline GetAppResult& 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
AWS_SMS_API GetAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServerGroups(Aws::Vector< ServerGroup > &&value)
GetAppResult & WithAppSummary(const AppSummary &value)
GetAppResult & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetRequestId() const
void SetServerGroups(const Aws::Vector< ServerGroup > &value)
void SetRequestId(const Aws::String &value)
GetAppResult & WithServerGroups(Aws::Vector< ServerGroup > &&value)
GetAppResult & AddServerGroups(const ServerGroup &value)
GetAppResult & AddTags(const Tag &value)
void SetRequestId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
GetAppResult & WithRequestId(Aws::String &&value)
const AppSummary & GetAppSummary() const
GetAppResult & WithServerGroups(const Aws::Vector< ServerGroup > &value)
const Aws::Vector< ServerGroup > & GetServerGroups() const
void SetRequestId(const char *value)
GetAppResult & AddServerGroups(ServerGroup &&value)
void SetTags(Aws::Vector< Tag > &&value)
GetAppResult & WithAppSummary(AppSummary &&value)
GetAppResult & WithTags(Aws::Vector< Tag > &&value)
AWS_SMS_API GetAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAppResult & WithRequestId(const Aws::String &value)
void SetAppSummary(const AppSummary &value)
void SetAppSummary(AppSummary &&value)
GetAppResult & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
GetAppResult & WithRequestId(const char *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