AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
StartRouteAnalysisRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/RouteAnalysisEndpointOptionsSpecification.h>
11
12#include <utility>
13
14namespace Aws {
15namespace NetworkManager {
16namespace Model {
17
21 public:
22 AWS_NETWORKMANAGER_API StartRouteAnalysisRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartRouteAnalysis"; }
29
30 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
37 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
38 template <typename GlobalNetworkIdT = Aws::String>
39 void SetGlobalNetworkId(GlobalNetworkIdT&& value) {
40 m_globalNetworkIdHasBeenSet = true;
41 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
42 }
43 template <typename GlobalNetworkIdT = Aws::String>
45 SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value));
46 return *this;
47 }
49
51
54 inline const RouteAnalysisEndpointOptionsSpecification& GetSource() const { return m_source; }
55 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
56 template <typename SourceT = RouteAnalysisEndpointOptionsSpecification>
57 void SetSource(SourceT&& value) {
58 m_sourceHasBeenSet = true;
59 m_source = std::forward<SourceT>(value);
60 }
61 template <typename SourceT = RouteAnalysisEndpointOptionsSpecification>
63 SetSource(std::forward<SourceT>(value));
64 return *this;
65 }
67
69
72 inline const RouteAnalysisEndpointOptionsSpecification& GetDestination() const { return m_destination; }
73 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
74 template <typename DestinationT = RouteAnalysisEndpointOptionsSpecification>
75 void SetDestination(DestinationT&& value) {
76 m_destinationHasBeenSet = true;
77 m_destination = std::forward<DestinationT>(value);
78 }
79 template <typename DestinationT = RouteAnalysisEndpointOptionsSpecification>
81 SetDestination(std::forward<DestinationT>(value));
82 return *this;
83 }
85
87
91 inline bool GetIncludeReturnPath() const { return m_includeReturnPath; }
92 inline bool IncludeReturnPathHasBeenSet() const { return m_includeReturnPathHasBeenSet; }
93 inline void SetIncludeReturnPath(bool value) {
94 m_includeReturnPathHasBeenSet = true;
95 m_includeReturnPath = value;
96 }
99 return *this;
100 }
102
104
108 inline bool GetUseMiddleboxes() const { return m_useMiddleboxes; }
109 inline bool UseMiddleboxesHasBeenSet() const { return m_useMiddleboxesHasBeenSet; }
110 inline void SetUseMiddleboxes(bool value) {
111 m_useMiddleboxesHasBeenSet = true;
112 m_useMiddleboxes = value;
113 }
115 SetUseMiddleboxes(value);
116 return *this;
117 }
119 private:
120 Aws::String m_globalNetworkId;
121
123
125
126 bool m_includeReturnPath{false};
127
128 bool m_useMiddleboxes{false};
129 bool m_globalNetworkIdHasBeenSet = false;
130 bool m_sourceHasBeenSet = false;
131 bool m_destinationHasBeenSet = false;
132 bool m_includeReturnPathHasBeenSet = false;
133 bool m_useMiddleboxesHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace NetworkManager
138} // namespace Aws
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
const RouteAnalysisEndpointOptionsSpecification & GetDestination() const
StartRouteAnalysisRequest & WithDestination(DestinationT &&value)
const RouteAnalysisEndpointOptionsSpecification & GetSource() const
StartRouteAnalysisRequest & WithGlobalNetworkId(GlobalNetworkIdT &&value)
StartRouteAnalysisRequest & WithSource(SourceT &&value)
AWS_NETWORKMANAGER_API StartRouteAnalysisRequest()=default
StartRouteAnalysisRequest & WithIncludeReturnPath(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String