AWS SDK for C++  1.9.108
AWS SDK for C++
ServerGroupValidationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sms/SMS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SMS
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetServerGroupId() const{ return m_serverGroupId; }
46 
50  inline bool ServerGroupIdHasBeenSet() const { return m_serverGroupIdHasBeenSet; }
51 
55  inline void SetServerGroupId(const Aws::String& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = value; }
56 
60  inline void SetServerGroupId(Aws::String&& value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId = std::move(value); }
61 
65  inline void SetServerGroupId(const char* value) { m_serverGroupIdHasBeenSet = true; m_serverGroupId.assign(value); }
66 
70  inline ServerGroupValidationConfiguration& WithServerGroupId(const Aws::String& value) { SetServerGroupId(value); return *this;}
71 
75  inline ServerGroupValidationConfiguration& WithServerGroupId(Aws::String&& value) { SetServerGroupId(std::move(value)); return *this;}
76 
80  inline ServerGroupValidationConfiguration& WithServerGroupId(const char* value) { SetServerGroupId(value); return *this;}
81 
82 
86  inline const Aws::Vector<ServerValidationConfiguration>& GetServerValidationConfigurations() const{ return m_serverValidationConfigurations; }
87 
91  inline bool ServerValidationConfigurationsHasBeenSet() const { return m_serverValidationConfigurationsHasBeenSet; }
92 
96  inline void SetServerValidationConfigurations(const Aws::Vector<ServerValidationConfiguration>& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations = value; }
97 
101  inline void SetServerValidationConfigurations(Aws::Vector<ServerValidationConfiguration>&& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations = std::move(value); }
102 
106  inline ServerGroupValidationConfiguration& WithServerValidationConfigurations(const Aws::Vector<ServerValidationConfiguration>& value) { SetServerValidationConfigurations(value); return *this;}
107 
111  inline ServerGroupValidationConfiguration& WithServerValidationConfigurations(Aws::Vector<ServerValidationConfiguration>&& value) { SetServerValidationConfigurations(std::move(value)); return *this;}
112 
116  inline ServerGroupValidationConfiguration& AddServerValidationConfigurations(const ServerValidationConfiguration& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations.push_back(value); return *this; }
117 
121  inline ServerGroupValidationConfiguration& AddServerValidationConfigurations(ServerValidationConfiguration&& value) { m_serverValidationConfigurationsHasBeenSet = true; m_serverValidationConfigurations.push_back(std::move(value)); return *this; }
122 
123  private:
124 
125  Aws::String m_serverGroupId;
126  bool m_serverGroupIdHasBeenSet;
127 
128  Aws::Vector<ServerValidationConfiguration> m_serverValidationConfigurations;
129  bool m_serverValidationConfigurationsHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace SMS
134 } // namespace Aws
Aws::SMS::Model::ServerGroupValidationConfiguration::GetServerValidationConfigurations
const Aws::Vector< ServerValidationConfiguration > & GetServerValidationConfigurations() const
Definition: ServerGroupValidationConfiguration.h:86
Aws::SMS::Model::ServerGroupValidationConfiguration::SetServerValidationConfigurations
void SetServerValidationConfigurations(const Aws::Vector< ServerValidationConfiguration > &value)
Definition: ServerGroupValidationConfiguration.h:96
Aws::SMS::Model::ServerGroupValidationConfiguration::WithServerValidationConfigurations
ServerGroupValidationConfiguration & WithServerValidationConfigurations(const Aws::Vector< ServerValidationConfiguration > &value)
Definition: ServerGroupValidationConfiguration.h:106
Aws::SMS::Model::ServerValidationConfiguration
Definition: ServerValidationConfiguration.h:35
Aws::SMS::Model::ServerGroupValidationConfiguration::AddServerValidationConfigurations
ServerGroupValidationConfiguration & AddServerValidationConfigurations(const ServerValidationConfiguration &value)
Definition: ServerGroupValidationConfiguration.h:116
Aws::SMS::Model::ServerGroupValidationConfiguration::ServerValidationConfigurationsHasBeenSet
bool ServerValidationConfigurationsHasBeenSet() const
Definition: ServerGroupValidationConfiguration.h:91
Aws::SMS::Model::ServerGroupValidationConfiguration::ServerGroupIdHasBeenSet
bool ServerGroupIdHasBeenSet() const
Definition: ServerGroupValidationConfiguration.h:50
Aws::SMS::Model::ServerGroupValidationConfiguration::WithServerGroupId
ServerGroupValidationConfiguration & WithServerGroupId(const char *value)
Definition: ServerGroupValidationConfiguration.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SMS::Model::ServerGroupValidationConfiguration::operator=
ServerGroupValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::SMS::Model::ServerGroupValidationConfiguration::ServerGroupValidationConfiguration
ServerGroupValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::SMS::Model::ServerGroupValidationConfiguration::GetServerGroupId
const Aws::String & GetServerGroupId() const
Definition: ServerGroupValidationConfiguration.h:45
SMS_EXPORTS.h
Aws::SMS::Model::ServerGroupValidationConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SMS::Model::ServerGroupValidationConfiguration::WithServerGroupId
ServerGroupValidationConfiguration & WithServerGroupId(const Aws::String &value)
Definition: ServerGroupValidationConfiguration.h:70
Aws::SMS::Model::ServerGroupValidationConfiguration::AddServerValidationConfigurations
ServerGroupValidationConfiguration & AddServerValidationConfigurations(ServerValidationConfiguration &&value)
Definition: ServerGroupValidationConfiguration.h:121
ServerValidationConfiguration.h
Aws::SMS::Model::ServerGroupValidationConfiguration::SetServerGroupId
void SetServerGroupId(const char *value)
Definition: ServerGroupValidationConfiguration.h:65
Aws::AmplifyBackend::Model::DeliveryMethod::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SMS::Model::ServerGroupValidationConfiguration::WithServerGroupId
ServerGroupValidationConfiguration & WithServerGroupId(Aws::String &&value)
Definition: ServerGroupValidationConfiguration.h:75
Aws::SMS::Model::ServerGroupValidationConfiguration::WithServerValidationConfigurations
ServerGroupValidationConfiguration & WithServerValidationConfigurations(Aws::Vector< ServerValidationConfiguration > &&value)
Definition: ServerGroupValidationConfiguration.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SMS::Model::ServerGroupValidationConfiguration::SetServerValidationConfigurations
void SetServerValidationConfigurations(Aws::Vector< ServerValidationConfiguration > &&value)
Definition: ServerGroupValidationConfiguration.h:101
Aws::SMS::Model::ServerGroupValidationConfiguration::SetServerGroupId
void SetServerGroupId(const Aws::String &value)
Definition: ServerGroupValidationConfiguration.h:55
Aws::SMS::Model::ServerGroupValidationConfiguration::ServerGroupValidationConfiguration
ServerGroupValidationConfiguration()
AWS_SMS_API
#define AWS_SMS_API
Definition: SMS_EXPORTS.h:28
Aws::SMS::Model::ServerGroupValidationConfiguration::SetServerGroupId
void SetServerGroupId(Aws::String &&value)
Definition: ServerGroupValidationConfiguration.h:60
Aws::SMS::Model::ServerGroupValidationConfiguration
Definition: ServerGroupValidationConfiguration.h:34