AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
32 AWS_SMS_API GetAppLaunchConfigurationResult() = default;
35
36
38
41 inline const Aws::String& GetAppId() const { return m_appId; }
42 template<typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
44 template<typename AppIdT = Aws::String>
45 GetAppLaunchConfigurationResult& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetRoleName() const { return m_roleName; }
54 template<typename RoleNameT = Aws::String>
55 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet = true; m_roleName = std::forward<RoleNameT>(value); }
56 template<typename RoleNameT = Aws::String>
57 GetAppLaunchConfigurationResult& WithRoleName(RoleNameT&& value) { SetRoleName(std::forward<RoleNameT>(value)); return *this;}
59
61
65 inline bool GetAutoLaunch() const { return m_autoLaunch; }
66 inline void SetAutoLaunch(bool value) { m_autoLaunchHasBeenSet = true; m_autoLaunch = value; }
67 inline GetAppLaunchConfigurationResult& WithAutoLaunch(bool value) { SetAutoLaunch(value); return *this;}
69
71
74 inline const Aws::Vector<ServerGroupLaunchConfiguration>& GetServerGroupLaunchConfigurations() const { return m_serverGroupLaunchConfigurations; }
75 template<typename ServerGroupLaunchConfigurationsT = Aws::Vector<ServerGroupLaunchConfiguration>>
76 void SetServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT&& value) { m_serverGroupLaunchConfigurationsHasBeenSet = true; m_serverGroupLaunchConfigurations = std::forward<ServerGroupLaunchConfigurationsT>(value); }
77 template<typename ServerGroupLaunchConfigurationsT = Aws::Vector<ServerGroupLaunchConfiguration>>
78 GetAppLaunchConfigurationResult& WithServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT&& value) { SetServerGroupLaunchConfigurations(std::forward<ServerGroupLaunchConfigurationsT>(value)); return *this;}
79 template<typename ServerGroupLaunchConfigurationsT = ServerGroupLaunchConfiguration>
80 GetAppLaunchConfigurationResult& AddServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT&& value) { m_serverGroupLaunchConfigurationsHasBeenSet = true; m_serverGroupLaunchConfigurations.emplace_back(std::forward<ServerGroupLaunchConfigurationsT>(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetAppLaunchConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_appId;
94 bool m_appIdHasBeenSet = false;
95
96 Aws::String m_roleName;
97 bool m_roleNameHasBeenSet = false;
98
99 bool m_autoLaunch{false};
100 bool m_autoLaunchHasBeenSet = false;
101
102 Aws::Vector<ServerGroupLaunchConfiguration> m_serverGroupLaunchConfigurations;
103 bool m_serverGroupLaunchConfigurationsHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SMS
111} // namespace Aws
GetAppLaunchConfigurationResult & WithRequestId(RequestIdT &&value)
void SetServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
GetAppLaunchConfigurationResult & WithAutoLaunch(bool value)
AWS_SMS_API GetAppLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ServerGroupLaunchConfiguration > & GetServerGroupLaunchConfigurations() const
AWS_SMS_API GetAppLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAppLaunchConfigurationResult & AddServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
GetAppLaunchConfigurationResult & WithServerGroupLaunchConfigurations(ServerGroupLaunchConfigurationsT &&value)
GetAppLaunchConfigurationResult & WithRoleName(RoleNameT &&value)
GetAppLaunchConfigurationResult & WithAppId(AppIdT &&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