AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerGroupLaunchConfiguration.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/ServerLaunchConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SMS
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
47 inline const Aws::String& GetServerGroupId() const{ return m_serverGroupId; }
48 inline bool ServerGroupIdHasBeenSet() const { return m_serverGroupIdHasBeenSet; }
49 inline void SetServerGroupId(const Aws::String& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = value; }
50 inline void SetServerGroupId(Aws::String&& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = std::move(value); }
51 inline void SetServerGroupId(const char* value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId.assign(value); }
53 inline ServerGroupLaunchConfiguration& WithServerGroupId(Aws::String&& value) { SetServerGroupId(std::move(value)); return *this;}
54 inline ServerGroupLaunchConfiguration& WithServerGroupId(const char* value) { SetServerGroupId(value); return *this;}
56
58
61 inline int GetLaunchOrder() const{ return m_launchOrder; }
62 inline bool LaunchOrderHasBeenSet() const { return m_launchOrderHasBeenSet; }
63 inline void SetLaunchOrder(int value) { m_launchOrderHasBeenSet = true; m_launchOrder = value; }
64 inline ServerGroupLaunchConfiguration& WithLaunchOrder(int value) { SetLaunchOrder(value); return *this;}
66
68
71 inline const Aws::Vector<ServerLaunchConfiguration>& GetServerLaunchConfigurations() const{ return m_serverLaunchConfigurations; }
72 inline bool ServerLaunchConfigurationsHasBeenSet() const { return m_serverLaunchConfigurationsHasBeenSet; }
73 inline void SetServerLaunchConfigurations(const Aws::Vector<ServerLaunchConfiguration>& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations = value; }
74 inline void SetServerLaunchConfigurations(Aws::Vector<ServerLaunchConfiguration>&& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations = std::move(value); }
77 inline ServerGroupLaunchConfiguration& AddServerLaunchConfigurations(const ServerLaunchConfiguration& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations.push_back(value); return *this; }
78 inline ServerGroupLaunchConfiguration& AddServerLaunchConfigurations(ServerLaunchConfiguration&& value) { m_serverLaunchConfigurationsHasBeenSet = true; m_serverLaunchConfigurations.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_serverGroupId;
83 bool m_serverGroupIdHasBeenSet = false;
84
85 int m_launchOrder;
86 bool m_launchOrderHasBeenSet = false;
87
88 Aws::Vector<ServerLaunchConfiguration> m_serverLaunchConfigurations;
89 bool m_serverLaunchConfigurationsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SMS
94} // namespace Aws
const Aws::Vector< ServerLaunchConfiguration > & GetServerLaunchConfigurations() const
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
ServerGroupLaunchConfiguration & WithServerGroupId(const Aws::String &value)
ServerGroupLaunchConfiguration & WithLaunchOrder(int value)
AWS_SMS_API ServerGroupLaunchConfiguration(Aws::Utils::Json::JsonView jsonValue)
ServerGroupLaunchConfiguration & WithServerLaunchConfigurations(const Aws::Vector< ServerLaunchConfiguration > &value)
ServerGroupLaunchConfiguration & WithServerGroupId(Aws::String &&value)
ServerGroupLaunchConfiguration & WithServerGroupId(const char *value)
ServerGroupLaunchConfiguration & AddServerLaunchConfigurations(ServerLaunchConfiguration &&value)
void SetServerLaunchConfigurations(const Aws::Vector< ServerLaunchConfiguration > &value)
ServerGroupLaunchConfiguration & AddServerLaunchConfigurations(const ServerLaunchConfiguration &value)
AWS_SMS_API ServerGroupLaunchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerLaunchConfigurations(Aws::Vector< ServerLaunchConfiguration > &&value)
ServerGroupLaunchConfiguration & WithServerLaunchConfigurations(Aws::Vector< ServerLaunchConfiguration > &&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