AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerGroupValidationConfiguration.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/ServerValidationConfiguration.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
46 inline const Aws::String& GetServerGroupId() const{ return m_serverGroupId; }
47 inline bool ServerGroupIdHasBeenSet() const { return m_serverGroupIdHasBeenSet; }
48 inline void SetServerGroupId(const Aws::String& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = value; }
49 inline void SetServerGroupId(Aws::String&& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = std::move(value); }
50 inline void SetServerGroupId(const char* value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId.assign(value); }
52 inline ServerGroupValidationConfiguration& WithServerGroupId(Aws::String&& value) { SetServerGroupId(std::move(value)); return *this;}
53 inline ServerGroupValidationConfiguration& WithServerGroupId(const char* value) { SetServerGroupId(value); return *this;}
55
57
60 inline const Aws::Vector<ServerValidationConfiguration>& GetServerValidationConfigurations() const{ return m_serverValidationConfigurations; }
61 inline bool ServerValidationConfigurationsHasBeenSet() const { return m_serverValidationConfigurationsHasBeenSet; }
62 inline void SetServerValidationConfigurations(const Aws::Vector<ServerValidationConfiguration>& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations = value; }
63 inline void SetServerValidationConfigurations(Aws::Vector<ServerValidationConfiguration>&& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations = std::move(value); }
66 inline ServerGroupValidationConfiguration& AddServerValidationConfigurations(const ServerValidationConfiguration& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations.push_back(value); return *this; }
67 inline ServerGroupValidationConfiguration& AddServerValidationConfigurations(ServerValidationConfiguration&& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_serverGroupId;
72 bool m_serverGroupIdHasBeenSet = false;
73
74 Aws::Vector<ServerValidationConfiguration> m_serverValidationConfigurations;
75 bool m_serverValidationConfigurationsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SMS
80} // namespace Aws
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SMS_API ServerGroupValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetServerValidationConfigurations(const Aws::Vector< ServerValidationConfiguration > &value)
ServerGroupValidationConfiguration & AddServerValidationConfigurations(const ServerValidationConfiguration &value)
AWS_SMS_API ServerGroupValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ServerValidationConfiguration > & GetServerValidationConfigurations() const
ServerGroupValidationConfiguration & WithServerGroupId(const char *value)
ServerGroupValidationConfiguration & WithServerValidationConfigurations(const Aws::Vector< ServerValidationConfiguration > &value)
ServerGroupValidationConfiguration & WithServerGroupId(const Aws::String &value)
void SetServerValidationConfigurations(Aws::Vector< ServerValidationConfiguration > &&value)
ServerGroupValidationConfiguration & AddServerValidationConfigurations(ServerValidationConfiguration &&value)
ServerGroupValidationConfiguration & WithServerGroupId(Aws::String &&value)
ServerGroupValidationConfiguration & WithServerValidationConfigurations(Aws::Vector< ServerValidationConfiguration > &&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