AWS SDK for C++  1.9.19
AWS SDK for C++
FinishedWorldsSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace RoboMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline int GetFinishedCount() const{ return m_finishedCount; }
46 
50  inline bool FinishedCountHasBeenSet() const { return m_finishedCountHasBeenSet; }
51 
55  inline void SetFinishedCount(int value) { m_finishedCountHasBeenSet = true; m_finishedCount = value; }
56 
60  inline FinishedWorldsSummary& WithFinishedCount(int value) { SetFinishedCount(value); return *this;}
61 
62 
66  inline const Aws::Vector<Aws::String>& GetSucceededWorlds() const{ return m_succeededWorlds; }
67 
71  inline bool SucceededWorldsHasBeenSet() const { return m_succeededWorldsHasBeenSet; }
72 
76  inline void SetSucceededWorlds(const Aws::Vector<Aws::String>& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = value; }
77 
81  inline void SetSucceededWorlds(Aws::Vector<Aws::String>&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = std::move(value); }
82 
86  inline FinishedWorldsSummary& WithSucceededWorlds(const Aws::Vector<Aws::String>& value) { SetSucceededWorlds(value); return *this;}
87 
91  inline FinishedWorldsSummary& WithSucceededWorlds(Aws::Vector<Aws::String>&& value) { SetSucceededWorlds(std::move(value)); return *this;}
92 
96  inline FinishedWorldsSummary& AddSucceededWorlds(const Aws::String& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
97 
101  inline FinishedWorldsSummary& AddSucceededWorlds(Aws::String&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(std::move(value)); return *this; }
102 
106  inline FinishedWorldsSummary& AddSucceededWorlds(const char* value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
107 
108 
112  inline const FailureSummary& GetFailureSummary() const{ return m_failureSummary; }
113 
117  inline bool FailureSummaryHasBeenSet() const { return m_failureSummaryHasBeenSet; }
118 
122  inline void SetFailureSummary(const FailureSummary& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = value; }
123 
127  inline void SetFailureSummary(FailureSummary&& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = std::move(value); }
128 
132  inline FinishedWorldsSummary& WithFailureSummary(const FailureSummary& value) { SetFailureSummary(value); return *this;}
133 
137  inline FinishedWorldsSummary& WithFailureSummary(FailureSummary&& value) { SetFailureSummary(std::move(value)); return *this;}
138 
139  private:
140 
141  int m_finishedCount;
142  bool m_finishedCountHasBeenSet;
143 
144  Aws::Vector<Aws::String> m_succeededWorlds;
145  bool m_succeededWorldsHasBeenSet;
146 
147  FailureSummary m_failureSummary;
148  bool m_failureSummaryHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace RoboMaker
153 } // namespace Aws
Aws::RoboMaker::Model::FinishedWorldsSummary::FailureSummaryHasBeenSet
bool FailureSummaryHasBeenSet() const
Definition: FinishedWorldsSummary.h:117
Aws::RoboMaker::Model::FinishedWorldsSummary::SetFailureSummary
void SetFailureSummary(const FailureSummary &value)
Definition: FinishedWorldsSummary.h:122
Aws::RoboMaker::Model::FinishedWorldsSummary::WithSucceededWorlds
FinishedWorldsSummary & WithSucceededWorlds(Aws::Vector< Aws::String > &&value)
Definition: FinishedWorldsSummary.h:91
FailureSummary.h
Aws::RoboMaker::Model::FinishedWorldsSummary::FinishedWorldsSummary
FinishedWorldsSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::FinishedWorldsSummary::SetSucceededWorlds
void SetSucceededWorlds(Aws::Vector< Aws::String > &&value)
Definition: FinishedWorldsSummary.h:81
Aws::RoboMaker::Model::FinishedWorldsSummary::WithSucceededWorlds
FinishedWorldsSummary & WithSucceededWorlds(const Aws::Vector< Aws::String > &value)
Definition: FinishedWorldsSummary.h:86
Aws::RoboMaker::Model::FinishedWorldsSummary::AddSucceededWorlds
FinishedWorldsSummary & AddSucceededWorlds(const Aws::String &value)
Definition: FinishedWorldsSummary.h:96
Aws::RoboMaker::Model::FinishedWorldsSummary::GetSucceededWorlds
const Aws::Vector< Aws::String > & GetSucceededWorlds() const
Definition: FinishedWorldsSummary.h:66
Aws::RoboMaker::Model::FinishedWorldsSummary::FinishedCountHasBeenSet
bool FinishedCountHasBeenSet() const
Definition: FinishedWorldsSummary.h:50
Aws::RoboMaker::Model::FinishedWorldsSummary::FinishedWorldsSummary
FinishedWorldsSummary()
Aws::RoboMaker::Model::FinishedWorldsSummary
Definition: FinishedWorldsSummary.h:34
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::FinishedWorldsSummary::operator=
FinishedWorldsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::FinishedWorldsSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::FinishedWorldsSummary::AddSucceededWorlds
FinishedWorldsSummary & AddSucceededWorlds(const char *value)
Definition: FinishedWorldsSummary.h:106
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::FinishedWorldsSummary::AddSucceededWorlds
FinishedWorldsSummary & AddSucceededWorlds(Aws::String &&value)
Definition: FinishedWorldsSummary.h:101
Aws::RoboMaker::Model::FinishedWorldsSummary::WithFailureSummary
FinishedWorldsSummary & WithFailureSummary(FailureSummary &&value)
Definition: FinishedWorldsSummary.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::FinishedWorldsSummary::SetFailureSummary
void SetFailureSummary(FailureSummary &&value)
Definition: FinishedWorldsSummary.h:127
Aws::RoboMaker::Model::FinishedWorldsSummary::SetSucceededWorlds
void SetSucceededWorlds(const Aws::Vector< Aws::String > &value)
Definition: FinishedWorldsSummary.h:76
Aws::RoboMaker::Model::FinishedWorldsSummary::WithFinishedCount
FinishedWorldsSummary & WithFinishedCount(int value)
Definition: FinishedWorldsSummary.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::FinishedWorldsSummary::GetFailureSummary
const FailureSummary & GetFailureSummary() const
Definition: FinishedWorldsSummary.h:112
Aws::RoboMaker::Model::FinishedWorldsSummary::SucceededWorldsHasBeenSet
bool SucceededWorldsHasBeenSet() const
Definition: FinishedWorldsSummary.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::FinishedWorldsSummary::SetFinishedCount
void SetFinishedCount(int value)
Definition: FinishedWorldsSummary.h:55
Aws::RoboMaker::Model::FailureSummary
Definition: FailureSummary.h:33
Aws::RoboMaker::Model::FinishedWorldsSummary::GetFinishedCount
int GetFinishedCount() const
Definition: FinishedWorldsSummary.h:45
Aws::RoboMaker::Model::FinishedWorldsSummary::WithFailureSummary
FinishedWorldsSummary & WithFailureSummary(const FailureSummary &value)
Definition: FinishedWorldsSummary.h:132