AWS SDK for C++  1.9.66
AWS SDK for C++
SecurityDetails.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 GroundStation
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 
49  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 
54  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
55 
59  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 
64  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 
69  inline SecurityDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 
74  inline SecurityDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 
79  inline SecurityDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
86 
90  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
91 
95  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
96 
100  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
101 
105  inline SecurityDetails& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
106 
110  inline SecurityDetails& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
111 
115  inline SecurityDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
116 
120  inline SecurityDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
121 
125  inline SecurityDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
126 
127 
132  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
133 
138  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
139 
144  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
145 
150  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
151 
156  inline SecurityDetails& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
157 
162  inline SecurityDetails& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
163 
168  inline SecurityDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
169 
174  inline SecurityDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
175 
180  inline SecurityDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
181 
182  private:
183 
184  Aws::String m_roleArn;
185  bool m_roleArnHasBeenSet;
186 
187  Aws::Vector<Aws::String> m_securityGroupIds;
188  bool m_securityGroupIdsHasBeenSet;
189 
190  Aws::Vector<Aws::String> m_subnetIds;
191  bool m_subnetIdsHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace GroundStation
196 } // namespace Aws
Aws::GroundStation::Model::SecurityDetails::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: SecurityDetails.h:44
Aws::GroundStation::Model::SecurityDetails::AddSubnetIds
SecurityDetails & AddSubnetIds(const char *value)
Definition: SecurityDetails.h:180
Aws::GroundStation::Model::SecurityDetails::SecurityDetails
SecurityDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::SecurityDetails::operator=
SecurityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::SecurityDetails::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: SecurityDetails.h:150
Aws::GroundStation::Model::SecurityDetails::WithRoleArn
SecurityDetails & WithRoleArn(Aws::String &&value)
Definition: SecurityDetails.h:74
Aws::GroundStation::Model::SecurityDetails::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: SecurityDetails.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GroundStation::Model::SecurityDetails::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: SecurityDetails.h:90
Aws::GroundStation::Model::SecurityDetails::WithRoleArn
SecurityDetails & WithRoleArn(const char *value)
Definition: SecurityDetails.h:79
Aws::GroundStation::Model::SecurityDetails::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: SecurityDetails.h:49
Aws::GroundStation::Model::SecurityDetails::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: SecurityDetails.h:59
Aws::GroundStation::Model::SecurityDetails::SetRoleArn
void SetRoleArn(const char *value)
Definition: SecurityDetails.h:64
GroundStation_EXPORTS.h
Aws::GroundStation::Model::SecurityDetails::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: SecurityDetails.h:132
Aws::GroundStation::Model::SecurityDetails::AddSecurityGroupIds
SecurityDetails & AddSecurityGroupIds(Aws::String &&value)
Definition: SecurityDetails.h:120
Aws::GroundStation::Model::SecurityDetails::WithSecurityGroupIds
SecurityDetails & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: SecurityDetails.h:105
Aws::GroundStation::Model::SecurityDetails::AddSecurityGroupIds
SecurityDetails & AddSecurityGroupIds(const char *value)
Definition: SecurityDetails.h:125
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::GroundStation::Model::SecurityDetails::AddSecurityGroupIds
SecurityDetails & AddSecurityGroupIds(const Aws::String &value)
Definition: SecurityDetails.h:115
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::SecurityDetails::WithSubnetIds
SecurityDetails & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: SecurityDetails.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::SecurityDetails::AddSubnetIds
SecurityDetails & AddSubnetIds(Aws::String &&value)
Definition: SecurityDetails.h:174
Aws::GroundStation::Model::SecurityDetails::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: SecurityDetails.h:100
Aws::GroundStation::Model::SecurityDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::SecurityDetails::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: SecurityDetails.h:95
Aws::GroundStation::Model::SecurityDetails
Definition: SecurityDetails.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::SecurityDetails::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: SecurityDetails.h:85
Aws::GroundStation::Model::SecurityDetails::SecurityDetails
SecurityDetails()
Aws::GroundStation::Model::SecurityDetails::WithSubnetIds
SecurityDetails & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: SecurityDetails.h:162
Aws::GroundStation::Model::SecurityDetails::AddSubnetIds
SecurityDetails & AddSubnetIds(const Aws::String &value)
Definition: SecurityDetails.h:168
Aws::GroundStation::Model::SecurityDetails::WithRoleArn
SecurityDetails & WithRoleArn(const Aws::String &value)
Definition: SecurityDetails.h:69
Aws::GroundStation::Model::SecurityDetails::WithSecurityGroupIds
SecurityDetails & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: SecurityDetails.h:110
Aws::GroundStation::Model::SecurityDetails::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: SecurityDetails.h:138
Aws::GroundStation::Model::SecurityDetails::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: SecurityDetails.h:144