AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2VpcPeeringConnectionDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsEc2VpcPeeringConnectionVpcInfoDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsEc2VpcPeeringConnectionStatusDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SECURITYHUB_API AwsEc2VpcPeeringConnectionDetails();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AwsEc2VpcPeeringConnectionVpcInfoDetails& GetAccepterVpcInfo() const{ return m_accepterVpcInfo; }
49 inline bool AccepterVpcInfoHasBeenSet() const { return m_accepterVpcInfoHasBeenSet; }
50 inline void SetAccepterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails& value) { m_accepterVpcInfoHasBeenSet = true; m_accepterVpcInfo = value; }
51 inline void SetAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails&& value) { m_accepterVpcInfoHasBeenSet = true; m_accepterVpcInfo = std::move(value); }
55
57
60 inline const Aws::String& GetExpirationTime() const{ return m_expirationTime; }
61 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
62 inline void SetExpirationTime(const Aws::String& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
63 inline void SetExpirationTime(Aws::String&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
64 inline void SetExpirationTime(const char* value) { m_expirationTimeHasBeenSet = true; m_expirationTime.assign(value); }
66 inline AwsEc2VpcPeeringConnectionDetails& WithExpirationTime(Aws::String&& value) { SetExpirationTime(std::move(value)); return *this;}
67 inline AwsEc2VpcPeeringConnectionDetails& WithExpirationTime(const char* value) { SetExpirationTime(value); return *this;}
69
71
74 inline const AwsEc2VpcPeeringConnectionVpcInfoDetails& GetRequesterVpcInfo() const{ return m_requesterVpcInfo; }
75 inline bool RequesterVpcInfoHasBeenSet() const { return m_requesterVpcInfoHasBeenSet; }
76 inline void SetRequesterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails& value) { m_requesterVpcInfoHasBeenSet = true; m_requesterVpcInfo = value; }
77 inline void SetRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails&& value) { m_requesterVpcInfoHasBeenSet = true; m_requesterVpcInfo = std::move(value); }
81
83
86 inline const AwsEc2VpcPeeringConnectionStatusDetails& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const AwsEc2VpcPeeringConnectionStatusDetails& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(AwsEc2VpcPeeringConnectionStatusDetails&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93
95
98 inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
99 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
100 inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
101 inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
102 inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
107 private:
108
110 bool m_accepterVpcInfoHasBeenSet = false;
111
112 Aws::String m_expirationTime;
113 bool m_expirationTimeHasBeenSet = false;
114
116 bool m_requesterVpcInfoHasBeenSet = false;
117
119 bool m_statusHasBeenSet = false;
120
121 Aws::String m_vpcPeeringConnectionId;
122 bool m_vpcPeeringConnectionIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SecurityHub
127} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2VpcPeeringConnectionDetails & WithExpirationTime(const char *value)
AWS_SECURITYHUB_API AwsEc2VpcPeeringConnectionDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRequesterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails &value)
const AwsEc2VpcPeeringConnectionStatusDetails & GetStatus() const
AwsEc2VpcPeeringConnectionDetails & WithExpirationTime(Aws::String &&value)
AwsEc2VpcPeeringConnectionDetails & WithExpirationTime(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2VpcPeeringConnectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails &&value)
void SetRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails &&value)
AwsEc2VpcPeeringConnectionDetails & WithRequesterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails &&value)
AwsEc2VpcPeeringConnectionDetails & WithStatus(AwsEc2VpcPeeringConnectionStatusDetails &&value)
const AwsEc2VpcPeeringConnectionVpcInfoDetails & GetAccepterVpcInfo() const
AwsEc2VpcPeeringConnectionDetails & WithVpcPeeringConnectionId(Aws::String &&value)
const AwsEc2VpcPeeringConnectionVpcInfoDetails & GetRequesterVpcInfo() const
AwsEc2VpcPeeringConnectionDetails & WithAccepterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails &value)
AwsEc2VpcPeeringConnectionDetails & WithVpcPeeringConnectionId(const Aws::String &value)
AwsEc2VpcPeeringConnectionDetails & WithVpcPeeringConnectionId(const char *value)
void SetStatus(AwsEc2VpcPeeringConnectionStatusDetails &&value)
void SetStatus(const AwsEc2VpcPeeringConnectionStatusDetails &value)
AwsEc2VpcPeeringConnectionDetails & WithStatus(const AwsEc2VpcPeeringConnectionStatusDetails &value)
AwsEc2VpcPeeringConnectionDetails & WithAccepterVpcInfo(AwsEc2VpcPeeringConnectionVpcInfoDetails &&value)
void SetAccepterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails &value)
AwsEc2VpcPeeringConnectionDetails & WithRequesterVpcInfo(const AwsEc2VpcPeeringConnectionVpcInfoDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue