AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartNetworkInsightsAnalysisRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
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 "StartNetworkInsightsAnalysis"; }
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
46 inline const Aws::String& GetNetworkInsightsPathId() const{ return m_networkInsightsPathId; }
47 inline bool NetworkInsightsPathIdHasBeenSet() const { return m_networkInsightsPathIdHasBeenSet; }
48 inline void SetNetworkInsightsPathId(const Aws::String& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = value; }
49 inline void SetNetworkInsightsPathId(Aws::String&& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = std::move(value); }
50 inline void SetNetworkInsightsPathId(const char* value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId.assign(value); }
55
57
60 inline const Aws::Vector<Aws::String>& GetAdditionalAccounts() const{ return m_additionalAccounts; }
61 inline bool AdditionalAccountsHasBeenSet() const { return m_additionalAccountsHasBeenSet; }
62 inline void SetAdditionalAccounts(const Aws::Vector<Aws::String>& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts = value; }
63 inline void SetAdditionalAccounts(Aws::Vector<Aws::String>&& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts = std::move(value); }
66 inline StartNetworkInsightsAnalysisRequest& AddAdditionalAccounts(const Aws::String& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts.push_back(value); return *this; }
67 inline StartNetworkInsightsAnalysisRequest& AddAdditionalAccounts(Aws::String&& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts.push_back(std::move(value)); return *this; }
68 inline StartNetworkInsightsAnalysisRequest& AddAdditionalAccounts(const char* value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts.push_back(value); return *this; }
70
72
76 inline const Aws::Vector<Aws::String>& GetFilterInArns() const{ return m_filterInArns; }
77 inline bool FilterInArnsHasBeenSet() const { return m_filterInArnsHasBeenSet; }
78 inline void SetFilterInArns(const Aws::Vector<Aws::String>& value) { m_filterInArnsHasBeenSet = true; m_filterInArns = value; }
79 inline void SetFilterInArns(Aws::Vector<Aws::String>&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns = std::move(value); }
82 inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(const Aws::String& value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(value); return *this; }
83 inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(Aws::String&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(std::move(value)); return *this; }
84 inline StartNetworkInsightsAnalysisRequest& AddFilterInArns(const char* value) { m_filterInArnsHasBeenSet = true; m_filterInArns.push_back(value); return *this; }
86
88
94 inline bool GetDryRun() const{ return m_dryRun; }
95 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
96 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
97 inline StartNetworkInsightsAnalysisRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
99
101
104 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
105 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
106 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
107 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
110 inline StartNetworkInsightsAnalysisRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
111 inline StartNetworkInsightsAnalysisRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
113
115
121 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
122 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
123 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
124 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
125 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
127 inline StartNetworkInsightsAnalysisRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
128 inline StartNetworkInsightsAnalysisRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
130 private:
131
132 Aws::String m_networkInsightsPathId;
133 bool m_networkInsightsPathIdHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_additionalAccounts;
136 bool m_additionalAccountsHasBeenSet = false;
137
138 Aws::Vector<Aws::String> m_filterInArns;
139 bool m_filterInArnsHasBeenSet = false;
140
141 bool m_dryRun;
142 bool m_dryRunHasBeenSet = false;
143
144 Aws::Vector<TagSpecification> m_tagSpecifications;
145 bool m_tagSpecificationsHasBeenSet = false;
146
147 Aws::String m_clientToken;
148 bool m_clientTokenHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace EC2
153} // namespace Aws
StartNetworkInsightsAnalysisRequest & AddAdditionalAccounts(const Aws::String &value)
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
StartNetworkInsightsAnalysisRequest & AddAdditionalAccounts(Aws::String &&value)
void SetAdditionalAccounts(const Aws::Vector< Aws::String > &value)
StartNetworkInsightsAnalysisRequest & WithClientToken(Aws::String &&value)
StartNetworkInsightsAnalysisRequest & AddTagSpecifications(const TagSpecification &value)
StartNetworkInsightsAnalysisRequest & WithAdditionalAccounts(Aws::Vector< Aws::String > &&value)
StartNetworkInsightsAnalysisRequest & AddTagSpecifications(TagSpecification &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
StartNetworkInsightsAnalysisRequest & AddFilterInArns(const char *value)
StartNetworkInsightsAnalysisRequest & WithClientToken(const char *value)
StartNetworkInsightsAnalysisRequest & WithFilterInArns(const Aws::Vector< Aws::String > &value)
StartNetworkInsightsAnalysisRequest & AddFilterInArns(const Aws::String &value)
StartNetworkInsightsAnalysisRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AWS_EC2_API Aws::String SerializePayload() const override
StartNetworkInsightsAnalysisRequest & WithClientToken(const Aws::String &value)
StartNetworkInsightsAnalysisRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
StartNetworkInsightsAnalysisRequest & WithDryRun(bool value)
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(const Aws::String &value)
StartNetworkInsightsAnalysisRequest & WithFilterInArns(Aws::Vector< Aws::String > &&value)
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(const char *value)
StartNetworkInsightsAnalysisRequest & AddFilterInArns(Aws::String &&value)
StartNetworkInsightsAnalysisRequest & WithAdditionalAccounts(const Aws::Vector< Aws::String > &value)
StartNetworkInsightsAnalysisRequest & AddAdditionalAccounts(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector