AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateNetworkConfigurationInput.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MWAA
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
51  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
52 
60  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
61 
69  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
70 
78  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
79 
87  inline UpdateNetworkConfigurationInput& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
88 
96  inline UpdateNetworkConfigurationInput& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
97 
105  inline UpdateNetworkConfigurationInput& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
106 
114  inline UpdateNetworkConfigurationInput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
115 
123  inline UpdateNetworkConfigurationInput& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
124 
125  private:
126 
127  Aws::Vector<Aws::String> m_securityGroupIds;
128  bool m_securityGroupIdsHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace MWAA
133 } // namespace Aws
Aws::MWAA::Model::UpdateNetworkConfigurationInput::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateNetworkConfigurationInput.h:69
Aws::MWAA::Model::UpdateNetworkConfigurationInput::AddSecurityGroupIds
UpdateNetworkConfigurationInput & AddSecurityGroupIds(const Aws::String &value)
Definition: UpdateNetworkConfigurationInput.h:105
Aws::MWAA::Model::UpdateNetworkConfigurationInput::WithSecurityGroupIds
UpdateNetworkConfigurationInput & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateNetworkConfigurationInput.h:96
Aws::MWAA::Model::UpdateNetworkConfigurationInput::AddSecurityGroupIds
UpdateNetworkConfigurationInput & AddSecurityGroupIds(Aws::String &&value)
Definition: UpdateNetworkConfigurationInput.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MWAA::Model::UpdateNetworkConfigurationInput::UpdateNetworkConfigurationInput
UpdateNetworkConfigurationInput()
AWSVector.h
Aws::MWAA::Model::UpdateNetworkConfigurationInput::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateNetworkConfigurationInput.h:78
Aws::MWAA::Model::UpdateNetworkConfigurationInput
Definition: UpdateNetworkConfigurationInput.h:36
Aws::MWAA::Model::UpdateNetworkConfigurationInput::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: UpdateNetworkConfigurationInput.h:60
Aws::MWAA::Model::UpdateNetworkConfigurationInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MWAA::Model::UpdateNetworkConfigurationInput::UpdateNetworkConfigurationInput
UpdateNetworkConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MWAA::Model::UpdateNetworkConfigurationInput::WithSecurityGroupIds
UpdateNetworkConfigurationInput & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateNetworkConfigurationInput.h:87
Aws::MWAA::Model::UpdateNetworkConfigurationInput::operator=
UpdateNetworkConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API
#define AWS_MWAA_API
Definition: MWAA_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::MWAA::Model::UpdateNetworkConfigurationInput::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: UpdateNetworkConfigurationInput.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MWAA::Model::UpdateNetworkConfigurationInput::AddSecurityGroupIds
UpdateNetworkConfigurationInput & AddSecurityGroupIds(const char *value)
Definition: UpdateNetworkConfigurationInput.h:123
MWAA_EXPORTS.h