AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartRouteAnalysisRequest.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/RouteAnalysisEndpointOptionsSpecification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKMANAGER_API StartRouteAnalysisRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartRouteAnalysis"; }
32
33 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
41 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
42 template<typename GlobalNetworkIdT = Aws::String>
43 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
44 template<typename GlobalNetworkIdT = Aws::String>
45 StartRouteAnalysisRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
47
49
52 inline const RouteAnalysisEndpointOptionsSpecification& GetSource() const { return m_source; }
53 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
54 template<typename SourceT = RouteAnalysisEndpointOptionsSpecification>
55 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
56 template<typename SourceT = RouteAnalysisEndpointOptionsSpecification>
57 StartRouteAnalysisRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
59
61
64 inline const RouteAnalysisEndpointOptionsSpecification& GetDestination() const { return m_destination; }
65 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
66 template<typename DestinationT = RouteAnalysisEndpointOptionsSpecification>
67 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
68 template<typename DestinationT = RouteAnalysisEndpointOptionsSpecification>
69 StartRouteAnalysisRequest& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
71
73
77 inline bool GetIncludeReturnPath() const { return m_includeReturnPath; }
78 inline bool IncludeReturnPathHasBeenSet() const { return m_includeReturnPathHasBeenSet; }
79 inline void SetIncludeReturnPath(bool value) { m_includeReturnPathHasBeenSet = true; m_includeReturnPath = value; }
80 inline StartRouteAnalysisRequest& WithIncludeReturnPath(bool value) { SetIncludeReturnPath(value); return *this;}
82
84
88 inline bool GetUseMiddleboxes() const { return m_useMiddleboxes; }
89 inline bool UseMiddleboxesHasBeenSet() const { return m_useMiddleboxesHasBeenSet; }
90 inline void SetUseMiddleboxes(bool value) { m_useMiddleboxesHasBeenSet = true; m_useMiddleboxes = value; }
91 inline StartRouteAnalysisRequest& WithUseMiddleboxes(bool value) { SetUseMiddleboxes(value); return *this;}
93 private:
94
95 Aws::String m_globalNetworkId;
96 bool m_globalNetworkIdHasBeenSet = false;
97
99 bool m_sourceHasBeenSet = false;
100
102 bool m_destinationHasBeenSet = false;
103
104 bool m_includeReturnPath{false};
105 bool m_includeReturnPathHasBeenSet = false;
106
107 bool m_useMiddleboxes{false};
108 bool m_useMiddleboxesHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace NetworkManager
113} // namespace Aws
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
StartRouteAnalysisRequest & WithUseMiddleboxes(bool value)
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