AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StateMachineListItem.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/StateMachineType.h>
10#include <aws/core/utils/DateTime.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 SFN
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SFN_API StateMachineListItem();
40
41
43
46 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
47 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
48 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
49 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
50 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
51 inline StateMachineListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
52 inline StateMachineListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
53 inline StateMachineListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
55
57
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
69 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 inline StateMachineListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline StateMachineListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline StateMachineListItem& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline const StateMachineType& GetType() const{ return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(const StateMachineType& value) { m_typeHasBeenSet = true; m_type = value; }
83 inline void SetType(StateMachineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
84 inline StateMachineListItem& WithType(const StateMachineType& value) { SetType(value); return *this;}
85 inline StateMachineListItem& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
93 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
94 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
95 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
96 inline StateMachineListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
97 inline StateMachineListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_stateMachineArn;
102 bool m_stateMachineArnHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 StateMachineType m_type;
108 bool m_typeHasBeenSet = false;
109
110 Aws::Utils::DateTime m_creationDate;
111 bool m_creationDateHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SFN
116} // namespace Aws
StateMachineListItem & WithName(Aws::String &&value)
AWS_SFN_API StateMachineListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetType(const StateMachineType &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
StateMachineListItem & WithType(StateMachineType &&value)
void SetStateMachineArn(Aws::String &&value)
AWS_SFN_API StateMachineListItem(Aws::Utils::Json::JsonView jsonValue)
StateMachineListItem & WithStateMachineArn(const char *value)
StateMachineListItem & WithType(const StateMachineType &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
StateMachineListItem & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDate() const
StateMachineListItem & WithName(const char *value)
const Aws::String & GetStateMachineArn() const
StateMachineListItem & WithName(const Aws::String &value)
void SetType(StateMachineType &&value)
StateMachineListItem & WithStateMachineArn(const Aws::String &value)
const StateMachineType & GetType() const
StateMachineListItem & WithStateMachineArn(Aws::String &&value)
StateMachineListItem & WithCreationDate(const Aws::Utils::DateTime &value)
void SetStateMachineArn(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue