AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
43 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
44 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
45 inline StartRouteAnalysisRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
46 inline StartRouteAnalysisRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
47 inline StartRouteAnalysisRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
49
51
54 inline const RouteAnalysisEndpointOptionsSpecification& GetSource() const{ return m_source; }
55 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
56 inline void SetSource(const RouteAnalysisEndpointOptionsSpecification& value) { m_sourceHasBeenSet = true; m_source = value; }
57 inline void SetSource(RouteAnalysisEndpointOptionsSpecification&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
61
63
66 inline const RouteAnalysisEndpointOptionsSpecification& GetDestination() const{ return m_destination; }
67 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
68 inline void SetDestination(const RouteAnalysisEndpointOptionsSpecification& value) { m_destinationHasBeenSet = true; m_destination = value; }
69 inline void SetDestination(RouteAnalysisEndpointOptionsSpecification&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
73
75
79 inline bool GetIncludeReturnPath() const{ return m_includeReturnPath; }
80 inline bool IncludeReturnPathHasBeenSet() const { return m_includeReturnPathHasBeenSet; }
81 inline void SetIncludeReturnPath(bool value) { m_includeReturnPathHasBeenSet = true; m_includeReturnPath = value; }
82 inline StartRouteAnalysisRequest& WithIncludeReturnPath(bool value) { SetIncludeReturnPath(value); return *this;}
84
86
90 inline bool GetUseMiddleboxes() const{ return m_useMiddleboxes; }
91 inline bool UseMiddleboxesHasBeenSet() const { return m_useMiddleboxesHasBeenSet; }
92 inline void SetUseMiddleboxes(bool value) { m_useMiddleboxesHasBeenSet = true; m_useMiddleboxes = value; }
93 inline StartRouteAnalysisRequest& WithUseMiddleboxes(bool value) { SetUseMiddleboxes(value); return *this;}
95 private:
96
97 Aws::String m_globalNetworkId;
98 bool m_globalNetworkIdHasBeenSet = false;
99
101 bool m_sourceHasBeenSet = false;
102
104 bool m_destinationHasBeenSet = false;
105
106 bool m_includeReturnPath;
107 bool m_includeReturnPathHasBeenSet = false;
108
109 bool m_useMiddleboxes;
110 bool m_useMiddleboxesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace NetworkManager
115} // namespace Aws
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
StartRouteAnalysisRequest & WithUseMiddleboxes(bool value)
const RouteAnalysisEndpointOptionsSpecification & GetDestination() const
StartRouteAnalysisRequest & WithSource(RouteAnalysisEndpointOptionsSpecification &&value)
StartRouteAnalysisRequest & WithGlobalNetworkId(Aws::String &&value)
StartRouteAnalysisRequest & WithSource(const RouteAnalysisEndpointOptionsSpecification &value)
void SetDestination(RouteAnalysisEndpointOptionsSpecification &&value)
StartRouteAnalysisRequest & WithGlobalNetworkId(const char *value)
void SetSource(const RouteAnalysisEndpointOptionsSpecification &value)
void SetSource(RouteAnalysisEndpointOptionsSpecification &&value)
const RouteAnalysisEndpointOptionsSpecification & GetSource() const
void SetDestination(const RouteAnalysisEndpointOptionsSpecification &value)
StartRouteAnalysisRequest & WithDestination(const RouteAnalysisEndpointOptionsSpecification &value)
StartRouteAnalysisRequest & WithGlobalNetworkId(const Aws::String &value)
StartRouteAnalysisRequest & WithIncludeReturnPath(bool value)
StartRouteAnalysisRequest & WithDestination(RouteAnalysisEndpointOptionsSpecification &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String