AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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