AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Step.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector2
22{
23namespace Model
24{
25
31 class Step
32 {
33 public:
34 AWS_INSPECTOR2_API Step() = default;
35 AWS_INSPECTOR2_API Step(Aws::Utils::Json::JsonView jsonValue);
36 AWS_INSPECTOR2_API Step& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetComponentArn() const { return m_componentArn; }
46 inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; }
47 template<typename ComponentArnT = Aws::String>
48 void SetComponentArn(ComponentArnT&& value) { m_componentArnHasBeenSet = true; m_componentArn = std::forward<ComponentArnT>(value); }
49 template<typename ComponentArnT = Aws::String>
50 Step& WithComponentArn(ComponentArnT&& value) { SetComponentArn(std::forward<ComponentArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetComponentId() const { return m_componentId; }
58 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
59 template<typename ComponentIdT = Aws::String>
60 void SetComponentId(ComponentIdT&& value) { m_componentIdHasBeenSet = true; m_componentId = std::forward<ComponentIdT>(value); }
61 template<typename ComponentIdT = Aws::String>
62 Step& WithComponentId(ComponentIdT&& value) { SetComponentId(std::forward<ComponentIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetComponentType() const { return m_componentType; }
70 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
71 template<typename ComponentTypeT = Aws::String>
72 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::forward<ComponentTypeT>(value); }
73 template<typename ComponentTypeT = Aws::String>
74 Step& WithComponentType(ComponentTypeT&& value) { SetComponentType(std::forward<ComponentTypeT>(value)); return *this;}
76 private:
77
78 Aws::String m_componentArn;
79 bool m_componentArnHasBeenSet = false;
80
81 Aws::String m_componentId;
82 bool m_componentIdHasBeenSet = false;
83
84 Aws::String m_componentType;
85 bool m_componentTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Inspector2
90} // namespace Aws
const Aws::String & GetComponentType() const
Definition Step.h:69
AWS_INSPECTOR2_API Step()=default
const Aws::String & GetComponentId() const
Definition Step.h:57
Step & WithComponentId(ComponentIdT &&value)
Definition Step.h:62
Step & WithComponentType(ComponentTypeT &&value)
Definition Step.h:74
bool ComponentArnHasBeenSet() const
Definition Step.h:46
AWS_INSPECTOR2_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComponentType(ComponentTypeT &&value)
Definition Step.h:72
void SetComponentArn(ComponentArnT &&value)
Definition Step.h:48
Step & WithComponentArn(ComponentArnT &&value)
Definition Step.h:50
void SetComponentId(ComponentIdT &&value)
Definition Step.h:60
bool ComponentIdHasBeenSet() const
Definition Step.h:58
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComponentTypeHasBeenSet() const
Definition Step.h:70
AWS_INSPECTOR2_API Step(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComponentArn() const
Definition Step.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue