AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeVpcClassicLinkRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EC2 {
17namespace Model {
18
22 public:
23 AWS_EC2_API DescribeVpcClassicLinkRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeVpcClassicLink"; }
30
31 AWS_EC2_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
44 inline bool GetDryRun() const { return m_dryRun; }
45 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
46 inline void SetDryRun(bool value) {
47 m_dryRunHasBeenSet = true;
48 m_dryRun = value;
49 }
51 SetDryRun(value);
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetVpcIds() const { return m_vpcIds; }
61 inline bool VpcIdsHasBeenSet() const { return m_vpcIdsHasBeenSet; }
62 template <typename VpcIdsT = Aws::Vector<Aws::String>>
63 void SetVpcIds(VpcIdsT&& value) {
64 m_vpcIdsHasBeenSet = true;
65 m_vpcIds = std::forward<VpcIdsT>(value);
66 }
67 template <typename VpcIdsT = Aws::Vector<Aws::String>>
69 SetVpcIds(std::forward<VpcIdsT>(value));
70 return *this;
71 }
72 template <typename VpcIdsT = Aws::String>
74 m_vpcIdsHasBeenSet = true;
75 m_vpcIds.emplace_back(std::forward<VpcIdsT>(value));
76 return *this;
77 }
79
81
93 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
94 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
95 template <typename FiltersT = Aws::Vector<Filter>>
96 void SetFilters(FiltersT&& value) {
97 m_filtersHasBeenSet = true;
98 m_filters = std::forward<FiltersT>(value);
99 }
100 template <typename FiltersT = Aws::Vector<Filter>>
102 SetFilters(std::forward<FiltersT>(value));
103 return *this;
104 }
105 template <typename FiltersT = Filter>
107 m_filtersHasBeenSet = true;
108 m_filters.emplace_back(std::forward<FiltersT>(value));
109 return *this;
110 }
112 private:
113 bool m_dryRun{false};
114
116
117 Aws::Vector<Filter> m_filters;
118 bool m_dryRunHasBeenSet = false;
119 bool m_vpcIdsHasBeenSet = false;
120 bool m_filtersHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace EC2
125} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector