AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SecurityDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GroundStation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GROUNDSTATION_API SecurityDetails() = default;
36 AWS_GROUNDSTATION_API SecurityDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API SecurityDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 template<typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<typename RoleArnT = Aws::String>
50 SecurityDetails& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
58 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
59 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
60 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
61 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
62 SecurityDetails& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
63 template<typename SecurityGroupIdsT = Aws::String>
64 SecurityDetails& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
66
68
72 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
73 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
74 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
75 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
76 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
77 SecurityDetails& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
78 template<typename SubnetIdsT = Aws::String>
79 SecurityDetails& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
81 private:
82
83 Aws::String m_roleArn;
84 bool m_roleArnHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_securityGroupIds;
87 bool m_securityGroupIdsHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_subnetIds;
90 bool m_subnetIdsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GroundStation
95} // namespace Aws
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityDetails & WithRoleArn(RoleArnT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_GROUNDSTATION_API SecurityDetails()=default
SecurityDetails & WithSubnetIds(SubnetIdsT &&value)
SecurityDetails & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_GROUNDSTATION_API SecurityDetails(Aws::Utils::Json::JsonView jsonValue)
SecurityDetails & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
SecurityDetails & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_GROUNDSTATION_API SecurityDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue