AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCompletionStatus(const RouteAnalysisCompletion& value) { m_completionStatusHasBeenSet = true; m_completionStatus = value; }
49 inline void SetCompletionStatus(RouteAnalysisCompletion&& value) { m_completionStatusHasBeenSet = true; m_completionStatus = std::move(value); }
51 inline RouteAnalysisPath& WithCompletionStatus(RouteAnalysisCompletion&& value) { SetCompletionStatus(std::move(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 inline void SetPath(const Aws::Vector<PathComponent>& value) { m_pathHasBeenSet = true; m_path = value; }
61 inline void SetPath(Aws::Vector<PathComponent>&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
62 inline RouteAnalysisPath& WithPath(const Aws::Vector<PathComponent>& value) { SetPath(value); return *this;}
63 inline RouteAnalysisPath& WithPath(Aws::Vector<PathComponent>&& value) { SetPath(std::move(value)); return *this;}
64 inline RouteAnalysisPath& AddPath(const PathComponent& value) { m_pathHasBeenSet = true; m_path.push_back(value); return *this; }
65 inline RouteAnalysisPath& AddPath(PathComponent&& value) { m_pathHasBeenSet = true; m_path.push_back(std::move(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
void SetPath(const Aws::Vector< PathComponent > &value)
RouteAnalysisPath & WithPath(Aws::Vector< PathComponent > &&value)
void SetPath(Aws::Vector< PathComponent > &&value)
RouteAnalysisPath & WithCompletionStatus(const RouteAnalysisCompletion &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompletionStatus(const RouteAnalysisCompletion &value)
const Aws::Vector< PathComponent > & GetPath() const
RouteAnalysisPath & AddPath(PathComponent &&value)
RouteAnalysisPath & WithPath(const Aws::Vector< PathComponent > &value)
const RouteAnalysisCompletion & GetCompletionStatus() const
void SetCompletionStatus(RouteAnalysisCompletion &&value)
AWS_NETWORKMANAGER_API RouteAnalysisPath & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysisPath & AddPath(const PathComponent &value)
AWS_NETWORKMANAGER_API RouteAnalysisPath(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysisPath & WithCompletionStatus(RouteAnalysisCompletion &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue