AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Fleet& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Fleet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Fleet& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetArn() const{ return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 inline Fleet& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline Fleet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline Fleet& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
78 inline Fleet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline Fleet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81
83
86 inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; }
87 inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; }
88 inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = value; }
89 inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = std::move(value); }
90 inline Fleet& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;}
91 inline Fleet& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; }
99 inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; }
100 inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; }
101 inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); }
102 inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); }
103 inline Fleet& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;}
104 inline Fleet& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;}
105 inline Fleet& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; }
113 inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; }
114 inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; }
115 inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); }
116 inline Fleet& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;}
117 inline Fleet& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createdAt;
128 bool m_createdAtHasBeenSet = false;
129
130 DeploymentStatus m_lastDeploymentStatus;
131 bool m_lastDeploymentStatusHasBeenSet = false;
132
133 Aws::String m_lastDeploymentJob;
134 bool m_lastDeploymentJobHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastDeploymentTime;
137 bool m_lastDeploymentTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace RoboMaker
142} // namespace Aws
const DeploymentStatus & GetLastDeploymentStatus() const
Definition Fleet.h:86
const Aws::String & GetName() const
Definition Fleet.h:46
Fleet & WithArn(const char *value)
Definition Fleet.h:67
void SetLastDeploymentJob(const Aws::String &value)
Definition Fleet.h:100
Fleet & WithName(Aws::String &&value)
Definition Fleet.h:52
Fleet & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Fleet.h:79
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Fleet.h:74
Fleet & WithName(const Aws::String &value)
Definition Fleet.h:51
void SetLastDeploymentJob(Aws::String &&value)
Definition Fleet.h:101
Fleet & WithLastDeploymentJob(Aws::String &&value)
Definition Fleet.h:104
void SetArn(const char *value)
Definition Fleet.h:64
bool LastDeploymentJobHasBeenSet() const
Definition Fleet.h:99
void SetArn(const Aws::String &value)
Definition Fleet.h:62
void SetName(const char *value)
Definition Fleet.h:50
void SetName(const Aws::String &value)
Definition Fleet.h:48
bool ArnHasBeenSet() const
Definition Fleet.h:61
Fleet & WithLastDeploymentStatus(DeploymentStatus &&value)
Definition Fleet.h:91
void SetArn(Aws::String &&value)
Definition Fleet.h:63
Fleet & WithLastDeploymentJob(const Aws::String &value)
Definition Fleet.h:103
bool LastDeploymentStatusHasBeenSet() const
Definition Fleet.h:87
AWS_ROBOMAKER_API Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
Fleet & WithArn(Aws::String &&value)
Definition Fleet.h:66
const Aws::Utils::DateTime & GetLastDeploymentTime() const
Definition Fleet.h:112
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Fleet & WithArn(const Aws::String &value)
Definition Fleet.h:65
bool NameHasBeenSet() const
Definition Fleet.h:47
Fleet & WithLastDeploymentJob(const char *value)
Definition Fleet.h:105
Fleet & WithName(const char *value)
Definition Fleet.h:53
void SetLastDeploymentStatus(DeploymentStatus &&value)
Definition Fleet.h:89
void SetLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition Fleet.h:114
Fleet & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Fleet.h:78
Fleet & WithLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition Fleet.h:117
Fleet & WithLastDeploymentTime(const Aws::Utils::DateTime &value)
Definition Fleet.h:116
Fleet & WithLastDeploymentStatus(const DeploymentStatus &value)
Definition Fleet.h:90
const Aws::String & GetArn() const
Definition Fleet.h:60
void SetName(Aws::String &&value)
Definition Fleet.h:49
AWS_ROBOMAKER_API Fleet()
void SetLastDeploymentTime(Aws::Utils::DateTime &&value)
Definition Fleet.h:115
bool CreatedAtHasBeenSet() const
Definition Fleet.h:75
void SetLastDeploymentStatus(const DeploymentStatus &value)
Definition Fleet.h:88
AWS_ROBOMAKER_API Fleet(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Fleet.h:77
void SetLastDeploymentJob(const char *value)
Definition Fleet.h:102
bool LastDeploymentTimeHasBeenSet() const
Definition Fleet.h:113
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Fleet.h:76
const Aws::String & GetLastDeploymentJob() const
Definition Fleet.h:98
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue