AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RouteAnalysisPath.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/RouteAnalysisCompletion.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/model/PathComponent.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NetworkManager
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NETWORKMANAGER_API RouteAnalysisPath() = default;
37 AWS_NETWORKMANAGER_API RouteAnalysisPath(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API RouteAnalysisPath& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RouteAnalysisCompletion& GetCompletionStatus() const { return m_completionStatus; }
47 inline bool CompletionStatusHasBeenSet() const { return m_completionStatusHasBeenSet; }
48 template<typename CompletionStatusT = RouteAnalysisCompletion>
49 void SetCompletionStatus(CompletionStatusT&& value) { m_completionStatusHasBeenSet = true; m_completionStatus = std::forward<CompletionStatusT>(value); }
50 template<typename CompletionStatusT = RouteAnalysisCompletion>
51 RouteAnalysisPath& WithCompletionStatus(CompletionStatusT&& value) { SetCompletionStatus(std::forward<CompletionStatusT>(value)); return *this;}
53
55
58 inline const Aws::Vector<PathComponent>& GetPath() const { return m_path; }
59 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
60 template<typename PathT = Aws::Vector<PathComponent>>
61 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
62 template<typename PathT = Aws::Vector<PathComponent>>
63 RouteAnalysisPath& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
64 template<typename PathT = PathComponent>
65 RouteAnalysisPath& AddPath(PathT&& value) { m_pathHasBeenSet = true; m_path.emplace_back(std::forward<PathT>(value)); return *this; }
67 private:
68
69 RouteAnalysisCompletion m_completionStatus;
70 bool m_completionStatusHasBeenSet = false;
71
73 bool m_pathHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace NetworkManager
78} // namespace Aws
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RouteAnalysisPath & WithCompletionStatus(CompletionStatusT &&value)
const Aws::Vector< PathComponent > & GetPath() const
const RouteAnalysisCompletion & GetCompletionStatus() const
AWS_NETWORKMANAGER_API RouteAnalysisPath()=default
AWS_NETWORKMANAGER_API RouteAnalysisPath & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API RouteAnalysisPath(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysisPath & AddPath(PathT &&value)
RouteAnalysisPath & WithPath(PathT &&value)
void SetCompletionStatus(CompletionStatusT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue