AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
50 inline SecurityDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline SecurityDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline SecurityDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
60 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
61 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
62 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
64 inline SecurityDetails& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
65 inline SecurityDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
66 inline SecurityDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
67 inline SecurityDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
69
71
75 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
76 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
77 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
78 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
79 inline SecurityDetails& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
80 inline SecurityDetails& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
81 inline SecurityDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
82 inline SecurityDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
83 inline SecurityDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
85 private:
86
87 Aws::String m_roleArn;
88 bool m_roleArnHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_securityGroupIds;
91 bool m_securityGroupIdsHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_subnetIds;
94 bool m_subnetIdsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace GroundStation
99} // namespace Aws
SecurityDetails & WithRoleArn(Aws::String &&value)
SecurityDetails & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
SecurityDetails & AddSubnetIds(const Aws::String &value)
SecurityDetails & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
SecurityDetails & AddSubnetIds(Aws::String &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityDetails & WithRoleArn(const char *value)
SecurityDetails & WithSubnetIds(Aws::Vector< Aws::String > &&value)
SecurityDetails & AddSecurityGroupIds(const char *value)
SecurityDetails & AddSecurityGroupIds(Aws::String &&value)
SecurityDetails & AddSubnetIds(const char *value)
SecurityDetails & AddSecurityGroupIds(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_GROUNDSTATION_API SecurityDetails(Aws::Utils::Json::JsonView jsonValue)
SecurityDetails & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetRoleArn(const Aws::String &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
SecurityDetails & WithRoleArn(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &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