AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetNetworkInsightsAnalysisIds(const Aws::Vector<Aws::String>& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds = value; }
50 inline void SetNetworkInsightsAnalysisIds(Aws::Vector<Aws::String>&& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds = std::move(value); }
53 inline DescribeNetworkInsightsAnalysesRequest& AddNetworkInsightsAnalysisIds(const Aws::String& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds.push_back(value); return *this; }
54 inline DescribeNetworkInsightsAnalysesRequest& AddNetworkInsightsAnalysisIds(Aws::String&& value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds.push_back(std::move(value)); return *this; }
55 inline DescribeNetworkInsightsAnalysesRequest& AddNetworkInsightsAnalysisIds(const char* value) { m_networkInsightsAnalysisIdsHasBeenSet = true; m_networkInsightsAnalysisIds.push_back(value); return *this; }
57
59
62 inline const Aws::String& GetNetworkInsightsPathId() const{ return m_networkInsightsPathId; }
63 inline bool NetworkInsightsPathIdHasBeenSet() const { return m_networkInsightsPathIdHasBeenSet; }
64 inline void SetNetworkInsightsPathId(const Aws::String& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = value; }
65 inline void SetNetworkInsightsPathId(Aws::String&& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = std::move(value); }
66 inline void SetNetworkInsightsPathId(const char* value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId.assign(value); }
71
73
76 inline const Aws::Utils::DateTime& GetAnalysisStartTime() const{ return m_analysisStartTime; }
77 inline bool AnalysisStartTimeHasBeenSet() const { return m_analysisStartTimeHasBeenSet; }
78 inline void SetAnalysisStartTime(const Aws::Utils::DateTime& value) { m_analysisStartTimeHasBeenSet = true; m_analysisStartTime = value; }
79 inline void SetAnalysisStartTime(Aws::Utils::DateTime&& value) { m_analysisStartTimeHasBeenSet = true; m_analysisStartTime = std::move(value); }
83
85
88 inline const Aws::Utils::DateTime& GetAnalysisEndTime() const{ return m_analysisEndTime; }
89 inline bool AnalysisEndTimeHasBeenSet() const { return m_analysisEndTimeHasBeenSet; }
90 inline void SetAnalysisEndTime(const Aws::Utils::DateTime& value) { m_analysisEndTimeHasBeenSet = true; m_analysisEndTime = value; }
91 inline void SetAnalysisEndTime(Aws::Utils::DateTime&& value) { m_analysisEndTimeHasBeenSet = true; m_analysisEndTime = std::move(value); }
95
97
103 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
104 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
105 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
106 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
108 inline DescribeNetworkInsightsAnalysesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
109 inline DescribeNetworkInsightsAnalysesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
110 inline DescribeNetworkInsightsAnalysesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
112
114
119 inline int GetMaxResults() const{ return m_maxResults; }
120 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
121 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
122 inline DescribeNetworkInsightsAnalysesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
124
126
132 inline bool GetDryRun() const{ return m_dryRun; }
133 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
134 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
135 inline DescribeNetworkInsightsAnalysesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
137
139
142 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
143 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
145 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
146 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 inline DescribeNetworkInsightsAnalysesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
149 inline DescribeNetworkInsightsAnalysesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
151 private:
152
153 Aws::Vector<Aws::String> m_networkInsightsAnalysisIds;
154 bool m_networkInsightsAnalysisIdsHasBeenSet = false;
155
156 Aws::String m_networkInsightsPathId;
157 bool m_networkInsightsPathIdHasBeenSet = false;
158
159 Aws::Utils::DateTime m_analysisStartTime;
160 bool m_analysisStartTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_analysisEndTime;
163 bool m_analysisEndTimeHasBeenSet = false;
164
165 Aws::Vector<Filter> m_filters;
166 bool m_filtersHasBeenSet = false;
167
168 int m_maxResults;
169 bool m_maxResultsHasBeenSet = false;
170
171 bool m_dryRun;
172 bool m_dryRunHasBeenSet = false;
173
174 Aws::String m_nextToken;
175 bool m_nextTokenHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace EC2
180} // namespace Aws
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsAnalysisIds(const Aws::Vector< Aws::String > &value)
void SetNetworkInsightsAnalysisIds(const Aws::Vector< Aws::String > &value)
DescribeNetworkInsightsAnalysesRequest & AddFilters(Filter &&value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsPathId(const Aws::String &value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsPathId(Aws::String &&value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisEndTime(Aws::Utils::DateTime &&value)
DescribeNetworkInsightsAnalysesRequest & WithNextToken(const char *value)
DescribeNetworkInsightsAnalysesRequest & WithMaxResults(int value)
DescribeNetworkInsightsAnalysesRequest & WithNextToken(const Aws::String &value)
DescribeNetworkInsightsAnalysesRequest & AddNetworkInsightsAnalysisIds(const char *value)
DescribeNetworkInsightsAnalysesRequest & AddNetworkInsightsAnalysisIds(const Aws::String &value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisEndTime(const Aws::Utils::DateTime &value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsAnalysisIds(Aws::Vector< Aws::String > &&value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisStartTime(const Aws::Utils::DateTime &value)
DescribeNetworkInsightsAnalysesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeNetworkInsightsAnalysesRequest & AddFilters(const Filter &value)
DescribeNetworkInsightsAnalysesRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeNetworkInsightsAnalysesRequest & WithNextToken(Aws::String &&value)
DescribeNetworkInsightsAnalysesRequest & WithDryRun(bool value)
DescribeNetworkInsightsAnalysesRequest & AddNetworkInsightsAnalysisIds(Aws::String &&value)
DescribeNetworkInsightsAnalysesRequest & WithNetworkInsightsPathId(const char *value)
DescribeNetworkInsightsAnalysesRequest & WithAnalysisStartTime(Aws::Utils::DateTime &&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