AWS SDK for C++  1.9.124
AWS SDK for C++
MapIterationEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SFN
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline MapIterationEventDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline MapIterationEventDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline MapIterationEventDetails& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline int GetIndex() const{ return m_index; }
86 
90  inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
91 
95  inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; }
96 
100  inline MapIterationEventDetails& WithIndex(int value) { SetIndex(value); return *this;}
101 
102  private:
103 
104  Aws::String m_name;
105  bool m_nameHasBeenSet;
106 
107  int m_index;
108  bool m_indexHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace SFN
113 } // namespace Aws
Aws::SFN::Model::MapIterationEventDetails::WithName
MapIterationEventDetails & WithName(const char *value)
Definition: MapIterationEventDetails.h:79
Aws::SFN::Model::MapIterationEventDetails::MapIterationEventDetails
MapIterationEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::MapIterationEventDetails::IndexHasBeenSet
bool IndexHasBeenSet() const
Definition: MapIterationEventDetails.h:90
Aws::SFN::Model::MapIterationEventDetails::SetName
void SetName(Aws::String &&value)
Definition: MapIterationEventDetails.h:59
Aws::SFN::Model::MapIterationEventDetails::GetName
const Aws::String & GetName() const
Definition: MapIterationEventDetails.h:44
Aws::SFN::Model::MapIterationEventDetails::NameHasBeenSet
bool NameHasBeenSet() const
Definition: MapIterationEventDetails.h:49
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::MapIterationEventDetails
Definition: MapIterationEventDetails.h:33
Aws::SFN::Model::MapIterationEventDetails::MapIterationEventDetails
MapIterationEventDetails()
Aws::SFN::Model::MapIterationEventDetails::GetIndex
int GetIndex() const
Definition: MapIterationEventDetails.h:85
Aws::SFN::Model::MapIterationEventDetails::operator=
MapIterationEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::MapIterationEventDetails::WithName
MapIterationEventDetails & WithName(const Aws::String &value)
Definition: MapIterationEventDetails.h:69
Aws::SFN::Model::MapIterationEventDetails::SetName
void SetName(const char *value)
Definition: MapIterationEventDetails.h:64
Aws::SFN::Model::MapIterationEventDetails::WithName
MapIterationEventDetails & WithName(Aws::String &&value)
Definition: MapIterationEventDetails.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::MapIterationEventDetails::WithIndex
MapIterationEventDetails & WithIndex(int value)
Definition: MapIterationEventDetails.h:100
Aws::SFN::Model::MapIterationEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::MapIterationEventDetails::SetIndex
void SetIndex(int value)
Definition: MapIterationEventDetails.h:95
Aws::SFN::Model::MapIterationEventDetails::SetName
void SetName(const Aws::String &value)
Definition: MapIterationEventDetails.h:54