AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAppLaunchConfigurationResult.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sms/model/ServerGroupLaunchConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SMS
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetAppId() const{ return m_appId; }
42 inline void SetAppId(const Aws::String& value) { m_appId = value; }
43 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
44 inline void SetAppId(const char* value) { m_appId.assign(value); }
45 inline GetAppLaunchConfigurationResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
46 inline GetAppLaunchConfigurationResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
47 inline GetAppLaunchConfigurationResult& WithAppId(const char* value) { SetAppId(value); return *this;}
49
51
55 inline const Aws::String& GetRoleName() const{ return m_roleName; }
56 inline void SetRoleName(const Aws::String& value) { m_roleName = value; }
57 inline void SetRoleName(Aws::String&& value) { m_roleName = std::move(value); }
58 inline void SetRoleName(const char* value) { m_roleName.assign(value); }
59 inline GetAppLaunchConfigurationResult& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
60 inline GetAppLaunchConfigurationResult& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
61 inline GetAppLaunchConfigurationResult& WithRoleName(const char* value) { SetRoleName(value); return *this;}
63
65
69 inline bool GetAutoLaunch() const{ return m_autoLaunch; }
70 inline void SetAutoLaunch(bool value) { m_autoLaunch = value; }
71 inline GetAppLaunchConfigurationResult& WithAutoLaunch(bool value) { SetAutoLaunch(value); return *this;}
73
75
78 inline const Aws::Vector<ServerGroupLaunchConfiguration>& GetServerGroupLaunchConfigurations() const{ return m_serverGroupLaunchConfigurations; }
79 inline void SetServerGroupLaunchConfigurations(const Aws::Vector<ServerGroupLaunchConfiguration>& value) { m_serverGroupLaunchConfigurations = value; }
80 inline void SetServerGroupLaunchConfigurations(Aws::Vector<ServerGroupLaunchConfiguration>&& value) { m_serverGroupLaunchConfigurations = std::move(value); }
83 inline GetAppLaunchConfigurationResult& AddServerGroupLaunchConfigurations(const ServerGroupLaunchConfiguration& value) { m_serverGroupLaunchConfigurations.push_back(value); return *this; }
84 inline GetAppLaunchConfigurationResult& AddServerGroupLaunchConfigurations(ServerGroupLaunchConfiguration&& value) { m_serverGroupLaunchConfigurations.push_back(std::move(value)); return *this; }
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetAppLaunchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetAppLaunchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetAppLaunchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_appId;
100
101 Aws::String m_roleName;
102
103 bool m_autoLaunch;
104
105 Aws::Vector<ServerGroupLaunchConfiguration> m_serverGroupLaunchConfigurations;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace SMS
112} // namespace Aws
GetAppLaunchConfigurationResult & WithRequestId(Aws::String &&value)
GetAppLaunchConfigurationResult & WithRoleName(const char *value)
void SetServerGroupLaunchConfigurations(const Aws::Vector< ServerGroupLaunchConfiguration > &value)
GetAppLaunchConfigurationResult & AddServerGroupLaunchConfigurations(const ServerGroupLaunchConfiguration &value)
GetAppLaunchConfigurationResult & WithAppId(const Aws::String &value)
GetAppLaunchConfigurationResult & WithRequestId(const char *value)
GetAppLaunchConfigurationResult & AddServerGroupLaunchConfigurations(ServerGroupLaunchConfiguration &&value)
GetAppLaunchConfigurationResult & WithAutoLaunch(bool value)
GetAppLaunchConfigurationResult & WithServerGroupLaunchConfigurations(Aws::Vector< ServerGroupLaunchConfiguration > &&value)
GetAppLaunchConfigurationResult & WithRequestId(const Aws::String &value)
AWS_SMS_API GetAppLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ServerGroupLaunchConfiguration > & GetServerGroupLaunchConfigurations() const
GetAppLaunchConfigurationResult & WithAppId(Aws::String &&value)
GetAppLaunchConfigurationResult & WithRoleName(Aws::String &&value)
GetAppLaunchConfigurationResult & WithServerGroupLaunchConfigurations(const Aws::Vector< ServerGroupLaunchConfiguration > &value)
GetAppLaunchConfigurationResult & WithAppId(const char *value)
AWS_SMS_API GetAppLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServerGroupLaunchConfigurations(Aws::Vector< ServerGroupLaunchConfiguration > &&value)
GetAppLaunchConfigurationResult & WithRoleName(const Aws::String &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