AWS SDK for C++  1.9.129
AWS SDK for C++
StartNetworkInsightsAnalysisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace EC2
18 {
19 namespace 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 "StartNetworkInsightsAnalysis"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetNetworkInsightsPathId() const{ return m_networkInsightsPathId; }
46 
50  inline bool NetworkInsightsPathIdHasBeenSet() const { return m_networkInsightsPathIdHasBeenSet; }
51 
55  inline void SetNetworkInsightsPathId(const Aws::String& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = value; }
56 
60  inline void SetNetworkInsightsPathId(Aws::String&& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = std::move(value); }
61 
65  inline void SetNetworkInsightsPathId(const char* value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId.assign(value); }
66 
70  inline StartNetworkInsightsAnalysisRequest& WithNetworkInsightsPathId(const Aws::String& value) { SetNetworkInsightsPathId(value); return *this;}
71 
75  inline StartNetworkInsightsAnalysisRequest& WithNetworkInsightsPathId(Aws::String&& value) { SetNetworkInsightsPathId(std::move(value)); return *this;}
76 
80  inline StartNetworkInsightsAnalysisRequest& WithNetworkInsightsPathId(const char* value) { SetNetworkInsightsPathId(value); return *this;}
81 
82 
87  inline const Aws::Vector<Aws::String>& GetFilterInArns() const{ return m_filterInArns; }
88 
93  inline bool FilterInArnsHasBeenSet() const { return m_filterInArnsHasBeenSet; }
94 
99  inline void SetFilterInArns(const Aws::Vector<Aws::String>& value) { m_filterInArnsHasBeenSet = true; m_filterInArns = value; }
100 
105  inline void SetFilterInArns(Aws::Vector<Aws::String>&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns = std::move(value); }
106 
111  inline StartNetworkInsightsAnalysisRequest& WithFilterInArns(const Aws::Vector<Aws::String>& value) { SetFilterInArns(value); return *this;}
112 
117  inline StartNetworkInsightsAnalysisRequest& WithFilterInArns(Aws::Vector<Aws::String>&& value) { SetFilterInArns(std::move(value)); return *this;}
118 
123  inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(const Aws::String& value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(value); return *this; }
124 
129  inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(Aws::String&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(std::move(value)); return *this; }
130 
135  inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(const char* value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(value); return *this; }
136 
137 
144  inline bool GetDryRun() const{ return m_dryRun; }
145 
152  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
153 
160  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
161 
168  inline StartNetworkInsightsAnalysisRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
169 
170 
174  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
175 
179  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
180 
184  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
185 
189  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
190 
194  inline StartNetworkInsightsAnalysisRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
195 
199  inline StartNetworkInsightsAnalysisRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
200 
204  inline StartNetworkInsightsAnalysisRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
205 
209  inline StartNetworkInsightsAnalysisRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
210 
211 
218  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
219 
226  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
227 
234  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
235 
242  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
243 
250  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
251 
258  inline StartNetworkInsightsAnalysisRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
259 
266  inline StartNetworkInsightsAnalysisRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
267 
274  inline StartNetworkInsightsAnalysisRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
275 
276  private:
277 
278  Aws::String m_networkInsightsPathId;
279  bool m_networkInsightsPathIdHasBeenSet;
280 
281  Aws::Vector<Aws::String> m_filterInArns;
282  bool m_filterInArnsHasBeenSet;
283 
284  bool m_dryRun;
285  bool m_dryRunHasBeenSet;
286 
287  Aws::Vector<TagSpecification> m_tagSpecifications;
288  bool m_tagSpecificationsHasBeenSet;
289 
290  Aws::String m_clientToken;
291  bool m_clientTokenHasBeenSet;
292  };
293 
294 } // namespace Model
295 } // namespace EC2
296 } // namespace Aws
TagSpecification.h
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: StartNetworkInsightsAnalysisRequest.h:234
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetFilterInArns
const Aws::Vector< Aws::String > & GetFilterInArns() const
Definition: StartNetworkInsightsAnalysisRequest.h:87
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::StartNetworkInsightsAnalysisRequest
StartNetworkInsightsAnalysisRequest()
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithClientToken
StartNetworkInsightsAnalysisRequest & WithClientToken(const Aws::String &value)
Definition: StartNetworkInsightsAnalysisRequest.h:258
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: StartNetworkInsightsAnalysisRequest.h:184
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithTagSpecifications
StartNetworkInsightsAnalysisRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:199
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetNetworkInsightsPathId
const Aws::String & GetNetworkInsightsPathId() const
Definition: StartNetworkInsightsAnalysisRequest.h:45
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetDryRun
void SetDryRun(bool value)
Definition: StartNetworkInsightsAnalysisRequest.h:160
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithDryRun
StartNetworkInsightsAnalysisRequest & WithDryRun(bool value)
Definition: StartNetworkInsightsAnalysisRequest.h:168
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartNetworkInsightsAnalysisRequest.h:33
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: StartNetworkInsightsAnalysisRequest.h:226
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::FilterInArnsHasBeenSet
bool FilterInArnsHasBeenSet() const
Definition: StartNetworkInsightsAnalysisRequest.h:93
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:242
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetFilterInArns
void SetFilterInArns(Aws::Vector< Aws::String > &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:105
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetClientToken
void SetClientToken(const char *value)
Definition: StartNetworkInsightsAnalysisRequest.h:250
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: StartNetworkInsightsAnalysisRequest.h:179
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::NetworkInsightsPathIdHasBeenSet
bool NetworkInsightsPathIdHasBeenSet() const
Definition: StartNetworkInsightsAnalysisRequest.h:50
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest
Definition: StartNetworkInsightsAnalysisRequest.h:25
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetNetworkInsightsPathId
void SetNetworkInsightsPathId(const char *value)
Definition: StartNetworkInsightsAnalysisRequest.h:65
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: StartNetworkInsightsAnalysisRequest.h:152
EC2Request.h
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithNetworkInsightsPathId
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(Aws::String &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:75
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::AddFilterInArns
StartNetworkInsightsAnalysisRequest & AddFilterInArns(const char *value)
Definition: StartNetworkInsightsAnalysisRequest.h:135
AWSString.h
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:189
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::AddFilterInArns
StartNetworkInsightsAnalysisRequest & AddFilterInArns(Aws::String &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:129
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithNetworkInsightsPathId
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(const Aws::String &value)
Definition: StartNetworkInsightsAnalysisRequest.h:70
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithFilterInArns
StartNetworkInsightsAnalysisRequest & WithFilterInArns(Aws::Vector< Aws::String > &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:117
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::AddTagSpecifications
StartNetworkInsightsAnalysisRequest & AddTagSpecifications(const TagSpecification &value)
Definition: StartNetworkInsightsAnalysisRequest.h:204
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithTagSpecifications
StartNetworkInsightsAnalysisRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: StartNetworkInsightsAnalysisRequest.h:194
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithFilterInArns
StartNetworkInsightsAnalysisRequest & WithFilterInArns(const Aws::Vector< Aws::String > &value)
Definition: StartNetworkInsightsAnalysisRequest.h:111
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithNetworkInsightsPathId
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(const char *value)
Definition: StartNetworkInsightsAnalysisRequest.h:80
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetFilterInArns
void SetFilterInArns(const Aws::Vector< Aws::String > &value)
Definition: StartNetworkInsightsAnalysisRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithClientToken
StartNetworkInsightsAnalysisRequest & WithClientToken(Aws::String &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:266
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetNetworkInsightsPathId
void SetNetworkInsightsPathId(const Aws::String &value)
Definition: StartNetworkInsightsAnalysisRequest.h:55
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetDryRun
bool GetDryRun() const
Definition: StartNetworkInsightsAnalysisRequest.h:144
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: StartNetworkInsightsAnalysisRequest.h:174
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::SetNetworkInsightsPathId
void SetNetworkInsightsPathId(Aws::String &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:60
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::AddFilterInArns
StartNetworkInsightsAnalysisRequest & AddFilterInArns(const Aws::String &value)
Definition: StartNetworkInsightsAnalysisRequest.h:123
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::WithClientToken
StartNetworkInsightsAnalysisRequest & WithClientToken(const char *value)
Definition: StartNetworkInsightsAnalysisRequest.h:274
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: StartNetworkInsightsAnalysisRequest.h:218
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
UUID.h
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
Aws::EC2::Model::StartNetworkInsightsAnalysisRequest::AddTagSpecifications
StartNetworkInsightsAnalysisRequest & AddTagSpecifications(TagSpecification &&value)
Definition: StartNetworkInsightsAnalysisRequest.h:209
EC2_EXPORTS.h