AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
27 AWS_EC2_API StartNetworkInsightsAnalysisRequest() = default;
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 template<typename NetworkInsightsPathIdT = Aws::String>
49 void SetNetworkInsightsPathId(NetworkInsightsPathIdT&& value) { m_networkInsightsPathIdHasBeenSet = true; m_networkInsightsPathId = std::forward<NetworkInsightsPathIdT>(value); }
50 template<typename NetworkInsightsPathIdT = Aws::String>
51 StartNetworkInsightsAnalysisRequest& WithNetworkInsightsPathId(NetworkInsightsPathIdT&& value) { SetNetworkInsightsPathId(std::forward<NetworkInsightsPathIdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetAdditionalAccounts() const { return m_additionalAccounts; }
59 inline bool AdditionalAccountsHasBeenSet() const { return m_additionalAccountsHasBeenSet; }
60 template<typename AdditionalAccountsT = Aws::Vector<Aws::String>>
61 void SetAdditionalAccounts(AdditionalAccountsT&& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts = std::forward<AdditionalAccountsT>(value); }
62 template<typename AdditionalAccountsT = Aws::Vector<Aws::String>>
63 StartNetworkInsightsAnalysisRequest& WithAdditionalAccounts(AdditionalAccountsT&& value) { SetAdditionalAccounts(std::forward<AdditionalAccountsT>(value)); return *this;}
64 template<typename AdditionalAccountsT = Aws::String>
65 StartNetworkInsightsAnalysisRequest& AddAdditionalAccounts(AdditionalAccountsT&& value) { m_additionalAccountsHasBeenSet = true; m_additionalAccounts.emplace_back(std::forward<AdditionalAccountsT>(value)); return *this; }
67
69
73 inline const Aws::Vector<Aws::String>& GetFilterInArns() const { return m_filterInArns; }
74 inline bool FilterInArnsHasBeenSet() const { return m_filterInArnsHasBeenSet; }
75 template<typename FilterInArnsT = Aws::Vector<Aws::String>>
76 void SetFilterInArns(FilterInArnsT&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns = std::forward<FilterInArnsT>(value); }
77 template<typename FilterInArnsT = Aws::Vector<Aws::String>>
78 StartNetworkInsightsAnalysisRequest& WithFilterInArns(FilterInArnsT&& value) { SetFilterInArns(std::forward<FilterInArnsT>(value)); return *this;}
79 template<typename FilterInArnsT = Aws::String>
80 StartNetworkInsightsAnalysisRequest& AddFilterInArns(FilterInArnsT&& value) { m_filterInArnsHasBeenSet = true; m_filterInArns.emplace_back(std::forward<FilterInArnsT>(value)); return *this; }
82
84
88 inline const Aws::Vector<Aws::String>& GetFilterOutArns() const { return m_filterOutArns; }
89 inline bool FilterOutArnsHasBeenSet() const { return m_filterOutArnsHasBeenSet; }
90 template<typename FilterOutArnsT = Aws::Vector<Aws::String>>
91 void SetFilterOutArns(FilterOutArnsT&& value) { m_filterOutArnsHasBeenSet = true; m_filterOutArns = std::forward<FilterOutArnsT>(value); }
92 template<typename FilterOutArnsT = Aws::Vector<Aws::String>>
93 StartNetworkInsightsAnalysisRequest& WithFilterOutArns(FilterOutArnsT&& value) { SetFilterOutArns(std::forward<FilterOutArnsT>(value)); return *this;}
94 template<typename FilterOutArnsT = Aws::String>
95 StartNetworkInsightsAnalysisRequest& AddFilterOutArns(FilterOutArnsT&& value) { m_filterOutArnsHasBeenSet = true; m_filterOutArns.emplace_back(std::forward<FilterOutArnsT>(value)); return *this; }
97
99
105 inline bool GetDryRun() const { return m_dryRun; }
106 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
107 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
108 inline StartNetworkInsightsAnalysisRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
110
112
115 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
116 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
117 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
118 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
119 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
120 StartNetworkInsightsAnalysisRequest& WithTagSpecifications(TagSpecificationsT&& value) { SetTagSpecifications(std::forward<TagSpecificationsT>(value)); return *this;}
121 template<typename TagSpecificationsT = TagSpecification>
122 StartNetworkInsightsAnalysisRequest& AddTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value)); return *this; }
124
126
132 inline const Aws::String& GetClientToken() const { return m_clientToken; }
133 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
134 template<typename ClientTokenT = Aws::String>
135 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
136 template<typename ClientTokenT = Aws::String>
137 StartNetworkInsightsAnalysisRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
139 private:
140
141 Aws::String m_networkInsightsPathId;
142 bool m_networkInsightsPathIdHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_additionalAccounts;
145 bool m_additionalAccountsHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_filterInArns;
148 bool m_filterInArnsHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_filterOutArns;
151 bool m_filterOutArnsHasBeenSet = false;
152
153 bool m_dryRun{false};
154 bool m_dryRunHasBeenSet = false;
155
156 Aws::Vector<TagSpecification> m_tagSpecifications;
157 bool m_tagSpecificationsHasBeenSet = false;
158
160 bool m_clientTokenHasBeenSet = true;
161 };
162
163} // namespace Model
164} // namespace EC2
165} // namespace Aws
StartNetworkInsightsAnalysisRequest & AddFilterInArns(FilterInArnsT &&value)
StartNetworkInsightsAnalysisRequest & WithFilterInArns(FilterInArnsT &&value)
StartNetworkInsightsAnalysisRequest & AddFilterOutArns(FilterOutArnsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
StartNetworkInsightsAnalysisRequest & WithAdditionalAccounts(AdditionalAccountsT &&value)
StartNetworkInsightsAnalysisRequest & WithFilterOutArns(FilterOutArnsT &&value)
StartNetworkInsightsAnalysisRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
StartNetworkInsightsAnalysisRequest & WithDryRun(bool value)
StartNetworkInsightsAnalysisRequest & AddAdditionalAccounts(AdditionalAccountsT &&value)
StartNetworkInsightsAnalysisRequest & WithNetworkInsightsPathId(NetworkInsightsPathIdT &&value)
StartNetworkInsightsAnalysisRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
StartNetworkInsightsAnalysisRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector