AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FinishedWorldsSummary.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/robomaker/model/FailureSummary.h>
10#include <aws/core/utils/memory/stl/AWSString.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 RoboMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ROBOMAKER_API FinishedWorldsSummary();
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetFinishedCount() const{ return m_finishedCount; }
47 inline bool FinishedCountHasBeenSet() const { return m_finishedCountHasBeenSet; }
48 inline void SetFinishedCount(int value) { m_finishedCountHasBeenSet = true; m_finishedCount = value; }
49 inline FinishedWorldsSummary& WithFinishedCount(int value) { SetFinishedCount(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetSucceededWorlds() const{ return m_succeededWorlds; }
57 inline bool SucceededWorldsHasBeenSet() const { return m_succeededWorldsHasBeenSet; }
58 inline void SetSucceededWorlds(const Aws::Vector<Aws::String>& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = value; }
59 inline void SetSucceededWorlds(Aws::Vector<Aws::String>&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds = std::move(value); }
61 inline FinishedWorldsSummary& WithSucceededWorlds(Aws::Vector<Aws::String>&& value) { SetSucceededWorlds(std::move(value)); return *this;}
62 inline FinishedWorldsSummary& AddSucceededWorlds(const Aws::String& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
63 inline FinishedWorldsSummary& AddSucceededWorlds(Aws::String&& value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(std::move(value)); return *this; }
64 inline FinishedWorldsSummary& AddSucceededWorlds(const char* value) { m_succeededWorldsHasBeenSet = true; m_succeededWorlds.push_back(value); return *this; }
66
68
71 inline const FailureSummary& GetFailureSummary() const{ return m_failureSummary; }
72 inline bool FailureSummaryHasBeenSet() const { return m_failureSummaryHasBeenSet; }
73 inline void SetFailureSummary(const FailureSummary& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = value; }
74 inline void SetFailureSummary(FailureSummary&& value) { m_failureSummaryHasBeenSet = true; m_failureSummary = std::move(value); }
75 inline FinishedWorldsSummary& WithFailureSummary(const FailureSummary& value) { SetFailureSummary(value); return *this;}
76 inline FinishedWorldsSummary& WithFailureSummary(FailureSummary&& value) { SetFailureSummary(std::move(value)); return *this;}
78 private:
79
80 int m_finishedCount;
81 bool m_finishedCountHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_succeededWorlds;
84 bool m_succeededWorldsHasBeenSet = false;
85
86 FailureSummary m_failureSummary;
87 bool m_failureSummaryHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace RoboMaker
92} // namespace Aws
FinishedWorldsSummary & AddSucceededWorlds(const char *value)
FinishedWorldsSummary & WithSucceededWorlds(Aws::Vector< Aws::String > &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSucceededWorlds(const Aws::Vector< Aws::String > &value)
FinishedWorldsSummary & WithFailureSummary(FailureSummary &&value)
AWS_ROBOMAKER_API FinishedWorldsSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API FinishedWorldsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FinishedWorldsSummary & WithFailureSummary(const FailureSummary &value)
FinishedWorldsSummary & WithFinishedCount(int value)
void SetSucceededWorlds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSucceededWorlds() const
FinishedWorldsSummary & WithSucceededWorlds(const Aws::Vector< Aws::String > &value)
void SetFailureSummary(const FailureSummary &value)
FinishedWorldsSummary & AddSucceededWorlds(const Aws::String &value)
FinishedWorldsSummary & AddSucceededWorlds(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue