AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkPath.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/Step.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API NetworkPath();
37 AWS_INSPECTOR2_API NetworkPath(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API NetworkPath& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Step>& GetSteps() const{ return m_steps; }
47 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
48 inline void SetSteps(const Aws::Vector<Step>& value) { m_stepsHasBeenSet = true; m_steps = value; }
49 inline void SetSteps(Aws::Vector<Step>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
50 inline NetworkPath& WithSteps(const Aws::Vector<Step>& value) { SetSteps(value); return *this;}
51 inline NetworkPath& WithSteps(Aws::Vector<Step>&& value) { SetSteps(std::move(value)); return *this;}
52 inline NetworkPath& AddSteps(const Step& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
53 inline NetworkPath& AddSteps(Step&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Step> m_steps;
58 bool m_stepsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Inspector2
63} // namespace Aws
NetworkPath & WithSteps(Aws::Vector< Step > &&value)
Definition NetworkPath.h:51
void SetSteps(const Aws::Vector< Step > &value)
Definition NetworkPath.h:48
NetworkPath & AddSteps(Step &&value)
Definition NetworkPath.h:53
AWS_INSPECTOR2_API NetworkPath()
NetworkPath & AddSteps(const Step &value)
Definition NetworkPath.h:52
AWS_INSPECTOR2_API NetworkPath(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API NetworkPath & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSteps(Aws::Vector< Step > &&value)
Definition NetworkPath.h:49
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Step > & GetSteps() const
Definition NetworkPath.h:46
NetworkPath & WithSteps(const Aws::Vector< Step > &value)
Definition NetworkPath.h:50
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue