AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
44 inline const Aws::String& GetComponentId() const{ return m_componentId; }
45 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
46 inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; }
47 inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); }
48 inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); }
49 inline Step& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;}
50 inline Step& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;}
51 inline Step& WithComponentId(const char* value) { SetComponentId(value); return *this;}
53
55
58 inline const Aws::String& GetComponentType() const{ return m_componentType; }
59 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
60 inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
61 inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
62 inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); }
63 inline Step& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;}
64 inline Step& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;}
65 inline Step& WithComponentType(const char* value) { SetComponentType(value); return *this;}
67 private:
68
69 Aws::String m_componentId;
70 bool m_componentIdHasBeenSet = false;
71
72 Aws::String m_componentType;
73 bool m_componentTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Inspector2
78} // namespace Aws
const Aws::String & GetComponentType() const
Definition Step.h:58
Step & WithComponentId(Aws::String &&value)
Definition Step.h:50
Step & WithComponentType(const Aws::String &value)
Definition Step.h:63
void SetComponentType(const Aws::String &value)
Definition Step.h:60
const Aws::String & GetComponentId() const
Definition Step.h:44
void SetComponentType(const char *value)
Definition Step.h:62
void SetComponentId(const Aws::String &value)
Definition Step.h:46
void SetComponentType(Aws::String &&value)
Definition Step.h:61
AWS_INSPECTOR2_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
Step & WithComponentType(Aws::String &&value)
Definition Step.h:64
Step & WithComponentId(const Aws::String &value)
Definition Step.h:49
bool ComponentIdHasBeenSet() const
Definition Step.h:45
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComponentId(const char *value)
Definition Step.h:48
AWS_INSPECTOR2_API Step()
bool ComponentTypeHasBeenSet() const
Definition Step.h:59
AWS_INSPECTOR2_API Step(Aws::Utils::Json::JsonView jsonValue)
Step & WithComponentId(const char *value)
Definition Step.h:51
Step & WithComponentType(const char *value)
Definition Step.h:65
void SetComponentId(Aws::String &&value)
Definition Step.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue