AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpcPeeringConnectionOptionsRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/PeeringConnectionOptionsRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyVpcPeeringConnectionOptions"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const PeeringConnectionOptionsRequest& GetAccepterPeeringConnectionOptions() const{ return m_accepterPeeringConnectionOptions; }
45 inline bool AccepterPeeringConnectionOptionsHasBeenSet() const { return m_accepterPeeringConnectionOptionsHasBeenSet; }
46 inline void SetAccepterPeeringConnectionOptions(const PeeringConnectionOptionsRequest& value) { m_accepterPeeringConnectionOptionsHasBeenSet = true; m_accepterPeeringConnectionOptions = value; }
47 inline void SetAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest&& value) { m_accepterPeeringConnectionOptionsHasBeenSet = true; m_accepterPeeringConnectionOptions = std::move(value); }
51
53
59 inline bool GetDryRun() const{ return m_dryRun; }
60 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
61 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
62 inline ModifyVpcPeeringConnectionOptionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
64
66
69 inline const PeeringConnectionOptionsRequest& GetRequesterPeeringConnectionOptions() const{ return m_requesterPeeringConnectionOptions; }
70 inline bool RequesterPeeringConnectionOptionsHasBeenSet() const { return m_requesterPeeringConnectionOptionsHasBeenSet; }
71 inline void SetRequesterPeeringConnectionOptions(const PeeringConnectionOptionsRequest& value) { m_requesterPeeringConnectionOptionsHasBeenSet = true; m_requesterPeeringConnectionOptions = value; }
72 inline void SetRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest&& value) { m_requesterPeeringConnectionOptionsHasBeenSet = true; m_requesterPeeringConnectionOptions = std::move(value); }
76
78
81 inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
82 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
83 inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
84 inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
85 inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
90 private:
91
92 PeeringConnectionOptionsRequest m_accepterPeeringConnectionOptions;
93 bool m_accepterPeeringConnectionOptionsHasBeenSet = false;
94
95 bool m_dryRun;
96 bool m_dryRunHasBeenSet = false;
97
98 PeeringConnectionOptionsRequest m_requesterPeeringConnectionOptions;
99 bool m_requesterPeeringConnectionOptionsHasBeenSet = false;
100
101 Aws::String m_vpcPeeringConnectionId;
102 bool m_vpcPeeringConnectionIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
ModifyVpcPeeringConnectionOptionsRequest & WithAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const PeeringConnectionOptionsRequest & GetAccepterPeeringConnectionOptions() const
ModifyVpcPeeringConnectionOptionsRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpcPeeringConnectionOptionsRequest & WithAccepterPeeringConnectionOptions(const PeeringConnectionOptionsRequest &value)
const PeeringConnectionOptionsRequest & GetRequesterPeeringConnectionOptions() const
void SetAccepterPeeringConnectionOptions(const PeeringConnectionOptionsRequest &value)
ModifyVpcPeeringConnectionOptionsRequest & WithVpcPeeringConnectionId(const char *value)
ModifyVpcPeeringConnectionOptionsRequest & WithRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest &&value)
ModifyVpcPeeringConnectionOptionsRequest & WithRequesterPeeringConnectionOptions(const PeeringConnectionOptionsRequest &value)
void SetRequesterPeeringConnectionOptions(const PeeringConnectionOptionsRequest &value)
ModifyVpcPeeringConnectionOptionsRequest & WithVpcPeeringConnectionId(Aws::String &&value)
ModifyVpcPeeringConnectionOptionsRequest & WithVpcPeeringConnectionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String