AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Step.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
27class Step {
28 public:
29 AWS_INSPECTOR2_API Step() = default;
30 AWS_INSPECTOR2_API Step(Aws::Utils::Json::JsonView jsonValue);
31 AWS_INSPECTOR2_API Step& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetComponentId() const { return m_componentId; }
39 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
40 template <typename ComponentIdT = Aws::String>
41 void SetComponentId(ComponentIdT&& value) {
42 m_componentIdHasBeenSet = true;
43 m_componentId = std::forward<ComponentIdT>(value);
44 }
45 template <typename ComponentIdT = Aws::String>
46 Step& WithComponentId(ComponentIdT&& value) {
47 SetComponentId(std::forward<ComponentIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetComponentType() const { return m_componentType; }
57 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
58 template <typename ComponentTypeT = Aws::String>
59 void SetComponentType(ComponentTypeT&& value) {
60 m_componentTypeHasBeenSet = true;
61 m_componentType = std::forward<ComponentTypeT>(value);
62 }
63 template <typename ComponentTypeT = Aws::String>
64 Step& WithComponentType(ComponentTypeT&& value) {
65 SetComponentType(std::forward<ComponentTypeT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetComponentArn() const { return m_componentArn; }
76 inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; }
77 template <typename ComponentArnT = Aws::String>
78 void SetComponentArn(ComponentArnT&& value) {
79 m_componentArnHasBeenSet = true;
80 m_componentArn = std::forward<ComponentArnT>(value);
81 }
82 template <typename ComponentArnT = Aws::String>
83 Step& WithComponentArn(ComponentArnT&& value) {
84 SetComponentArn(std::forward<ComponentArnT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_componentId;
90
91 Aws::String m_componentType;
92
93 Aws::String m_componentArn;
94 bool m_componentIdHasBeenSet = false;
95 bool m_componentTypeHasBeenSet = false;
96 bool m_componentArnHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Inspector2
101} // namespace Aws
const Aws::String & GetComponentType() const
Definition Step.h:56
AWS_INSPECTOR2_API Step()=default
const Aws::String & GetComponentId() const
Definition Step.h:38
Step & WithComponentId(ComponentIdT &&value)
Definition Step.h:46
Step & WithComponentType(ComponentTypeT &&value)
Definition Step.h:64
bool ComponentArnHasBeenSet() const
Definition Step.h:76
AWS_INSPECTOR2_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComponentType(ComponentTypeT &&value)
Definition Step.h:59
void SetComponentArn(ComponentArnT &&value)
Definition Step.h:78
Step & WithComponentArn(ComponentArnT &&value)
Definition Step.h:83
void SetComponentId(ComponentIdT &&value)
Definition Step.h:41
bool ComponentIdHasBeenSet() const
Definition Step.h:39
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComponentTypeHasBeenSet() const
Definition Step.h:57
AWS_INSPECTOR2_API Step(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComponentArn() const
Definition Step.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue