AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Fleet.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/robomaker/model/DeploymentStatus.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
33 class Fleet
34 {
35 public:
36 AWS_ROBOMAKER_API Fleet() = default;
37 AWS_ROBOMAKER_API Fleet(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROBOMAKER_API Fleet& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Fleet& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template<typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 Fleet& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
72 template<typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 Fleet& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
82 inline DeploymentStatus GetLastDeploymentStatus() const { return m_lastDeploymentStatus; }
83 inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; }
84 inline void SetLastDeploymentStatus(DeploymentStatus value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = value; }
87
89
92 inline const Aws::String& GetLastDeploymentJob() const { return m_lastDeploymentJob; }
93 inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
94 template<typename LastDeploymentJobT = Aws::String>
95 void SetLastDeploymentJob(LastDeploymentJobT&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::forward<LastDeploymentJobT>(value); }
96 template<typename LastDeploymentJobT = Aws::String>
97 Fleet& WithLastDeploymentJob(LastDeploymentJobT&& value) { SetLastDeploymentJob(std::forward<LastDeploymentJobT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastDeploymentTime() const { return m_lastDeploymentTime; }
105 inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
106 template<typename LastDeploymentTimeT = Aws::Utils::DateTime>
107 void SetLastDeploymentTime(LastDeploymentTimeT&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::forward<LastDeploymentTimeT>(value); }
108 template<typename LastDeploymentTimeT = Aws::Utils::DateTime>
109 Fleet& WithLastDeploymentTime(LastDeploymentTimeT&& value) { SetLastDeploymentTime(std::forward<LastDeploymentTimeT>(value)); return *this;}
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::Utils::DateTime m_createdAt{};
120 bool m_createdAtHasBeenSet = false;
121
122 DeploymentStatus m_lastDeploymentStatus{DeploymentStatus::NOT_SET};
123 bool m_lastDeploymentStatusHasBeenSet = false;
124
125 Aws::String m_lastDeploymentJob;
126 bool m_lastDeploymentJobHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastDeploymentTime{};
129 bool m_lastDeploymentTimeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace RoboMaker
134} // namespace Aws
const Aws::String & GetName() const
Definition Fleet.h:46
void SetArn(ArnT &&value)
Definition Fleet.h:61
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Fleet.h:70
void SetLastDeploymentJob(LastDeploymentJobT &&value)
Definition Fleet.h:95
bool LastDeploymentJobHasBeenSet() const
Definition Fleet.h:93
Fleet & WithLastDeploymentTime(LastDeploymentTimeT &&value)
Definition Fleet.h:109
bool ArnHasBeenSet() const
Definition Fleet.h:59
Fleet & WithLastDeploymentStatus(DeploymentStatus value)
Definition Fleet.h:85
Fleet & WithLastDeploymentJob(LastDeploymentJobT &&value)
Definition Fleet.h:97
Fleet & WithCreatedAt(CreatedAtT &&value)
Definition Fleet.h:75
bool LastDeploymentStatusHasBeenSet() const
Definition Fleet.h:83
AWS_ROBOMAKER_API Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition Fleet.h:104
DeploymentStatus GetLastDeploymentStatus() const
Definition Fleet.h:82
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
Definition Fleet.h:47
Fleet & WithArn(ArnT &&value)
Definition Fleet.h:63
void SetName(NameT &&value)
Definition Fleet.h:49
void SetCreatedAt(CreatedAtT &&value)
Definition Fleet.h:73
const Aws::String & GetArn() const
Definition Fleet.h:58
void SetLastDeploymentTime(LastDeploymentTimeT &&value)
Definition Fleet.h:107
bool CreatedAtHasBeenSet() const
Definition Fleet.h:71
AWS_ROBOMAKER_API Fleet()=default
Fleet & WithName(NameT &&value)
Definition Fleet.h:51
AWS_ROBOMAKER_API Fleet(Aws::Utils::Json::JsonView jsonValue)
bool LastDeploymentTimeHasBeenSet() const
Definition Fleet.h:105
void SetLastDeploymentStatus(DeploymentStatus value)
Definition Fleet.h:84
const Aws::String & GetLastDeploymentJob() const
Definition Fleet.h:92
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue