AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeNetworkInsightsAnalysesRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/Filter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace EC2
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeNetworkInsightsAnalyses"; }
34
35 AWS_EC2_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::Vector<Aws::String>& GetNetworkInsightsAnalysisIds() const { return m_networkInsightsAnalysisIds; }
48 inline bool NetworkInsightsAnalysisIdsHasBeenSet() const { return m_networkInsightsAnalysisIdsHasBeenSet; }
49 template<typename NetworkInsightsAnalysisIdsT = Aws::Vector<Aws::String>>
50 void SetNetworkInsightsAnalysisIds(NetworkInsightsAnalysisIdsT&& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds = std::forward<NetworkInsightsAnalysisIdsT>(value); }
51 template<typename NetworkInsightsAnalysisIdsT = Aws::Vector<Aws::String>>
52 DescribeNetworkInsightsAnalysesRequest& WithNetworkInsightsAnalysisIds(NetworkInsightsAnalysisIdsT&& value) { SetNetworkInsightsAnalysisIds(std::forward<NetworkInsightsAnalysisIdsT>(value)); return *this;}
53 template<typename NetworkInsightsAnalysisIdsT = Aws::String>
54 DescribeNetworkInsightsAnalysesRequest& AddNetworkInsightsAnalysisIds(NetworkInsightsAnalysisIdsT&& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds.emplace_back(std::forward<NetworkInsightsAnalysisIdsT>(value)); return *this; }
56
58
61 inline const Aws::String& GetNetworkInsightsPathId() const { return m_networkInsightsPathId; }
62 inline bool NetworkInsightsPathIdHasBeenSet() const { return m_networkInsightsPathIdHasBeenSet; }
63 template<typename NetworkInsightsPathIdT = Aws::String>
64 void SetNetworkInsightsPathId(NetworkInsightsPathIdT&& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = std::forward<NetworkInsightsPathIdT>(value); }
65 template<typename NetworkInsightsPathIdT = Aws::String>
66 DescribeNetworkInsightsAnalysesRequest& WithNetworkInsightsPathId(NetworkInsightsPathIdT&& value) { SetNetworkInsightsPathId(std::forward<NetworkInsightsPathIdT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetAnalysisStartTime() const { return m_analysisStartTime; }
74 inline bool AnalysisStartTimeHasBeenSet() const { return m_analysisStartTimeHasBeenSet; }
75 template<typename AnalysisStartTimeT = Aws::Utils::DateTime>
76 void SetAnalysisStartTime(AnalysisStartTimeT&& value) { m_analysisStartTimeHasBeenSet = true; m_analysisStartTime = std::forward<AnalysisStartTimeT>(value); }
77 template<typename AnalysisStartTimeT = Aws::Utils::DateTime>
78 DescribeNetworkInsightsAnalysesRequest& WithAnalysisStartTime(AnalysisStartTimeT&& value) { SetAnalysisStartTime(std::forward<AnalysisStartTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetAnalysisEndTime() const { return m_analysisEndTime; }
86 inline bool AnalysisEndTimeHasBeenSet() const { return m_analysisEndTimeHasBeenSet; }
87 template<typename AnalysisEndTimeT = Aws::Utils::DateTime>
88 void SetAnalysisEndTime(AnalysisEndTimeT&& value) { m_analysisEndTimeHasBeenSet = true; m_analysisEndTime = std::forward<AnalysisEndTimeT>(value); }
89 template<typename AnalysisEndTimeT = Aws::Utils::DateTime>
90 DescribeNetworkInsightsAnalysesRequest& WithAnalysisEndTime(AnalysisEndTimeT&& value) { SetAnalysisEndTime(std::forward<AnalysisEndTimeT>(value)); return *this;}
92
94
100 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
101 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
102 template<typename FiltersT = Aws::Vector<Filter>>
103 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
104 template<typename FiltersT = Aws::Vector<Filter>>
105 DescribeNetworkInsightsAnalysesRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
106 template<typename FiltersT = Filter>
107 DescribeNetworkInsightsAnalysesRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
109
111
116 inline int GetMaxResults() const { return m_maxResults; }
117 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
119 inline DescribeNetworkInsightsAnalysesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121
123
129 inline bool GetDryRun() const { return m_dryRun; }
130 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
131 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
132 inline DescribeNetworkInsightsAnalysesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
134
136
139 inline const Aws::String& GetNextToken() const { return m_nextToken; }
140 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
141 template<typename NextTokenT = Aws::String>
142 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
143 template<typename NextTokenT = Aws::String>
144 DescribeNetworkInsightsAnalysesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
146 private:
147
148 Aws::Vector<Aws::String> m_networkInsightsAnalysisIds;
149 bool m_networkInsightsAnalysisIdsHasBeenSet = false;
150
151 Aws::String m_networkInsightsPathId;
152 bool m_networkInsightsPathIdHasBeenSet = false;
153
154 Aws::Utils::DateTime m_analysisStartTime{};
155 bool m_analysisStartTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_analysisEndTime{};
158 bool m_analysisEndTimeHasBeenSet = false;
159
160 Aws::Vector<Filter> m_filters;
161 bool m_filtersHasBeenSet = false;
162
163 int m_maxResults{0};
164 bool m_maxResultsHasBeenSet = false;
165
166 bool m_dryRun{false};
167 bool m_dryRunHasBeenSet = false;
168
169 Aws::String m_nextToken;
170 bool m_nextTokenHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace EC2
175} // namespace Aws
DescribeNetworkInsightsAnalysesRequest & AddFilters(FiltersT &&value)
DescribeNetworkInsightsAnalysesRequest & WithFilters(FiltersT &&value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsAnalysisIds(NetworkInsightsAnalysisIdsT &&value)
DescribeNetworkInsightsAnalysesRequest & AddNetworkInsightsAnalysisIds(NetworkInsightsAnalysisIdsT &&value)
DescribeNetworkInsightsAnalysesRequest & WithMaxResults(int value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisStartTime(AnalysisStartTimeT &&value)
DescribeNetworkInsightsAnalysesRequest & WithNextToken(NextTokenT &&value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisEndTime(AnalysisEndTimeT &&value)
DescribeNetworkInsightsAnalysesRequest & WithDryRun(bool value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsPathId(NetworkInsightsPathIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector