AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetSummary.h
1
6#pragma once
7#include <aws/worklink/WorkLink_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/worklink/model/FleetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WorkLink
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WORKLINK_API FleetSummary();
38 AWS_WORKLINK_API FleetSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WORKLINK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
48 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
49 inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
50 inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
51 inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
52 inline FleetSummary& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
53 inline FleetSummary& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
54 inline FleetSummary& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
62 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
63 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
64 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
65 inline FleetSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
66 inline FleetSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
74 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
75 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
76 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
77 inline FleetSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
78 inline FleetSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
86 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
87 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
88 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
89 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
90 inline FleetSummary& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
91 inline FleetSummary& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
92 inline FleetSummary& WithFleetName(const char* value) { SetFleetName(value); return *this;}
94
96
99 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
100 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
101 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
102 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
103 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
104 inline FleetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
105 inline FleetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
106 inline FleetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
108
110
113 inline const Aws::String& GetCompanyCode() const{ return m_companyCode; }
114 inline bool CompanyCodeHasBeenSet() const { return m_companyCodeHasBeenSet; }
115 inline void SetCompanyCode(const Aws::String& value) { m_companyCodeHasBeenSet = true; m_companyCode = value; }
116 inline void SetCompanyCode(Aws::String&& value) { m_companyCodeHasBeenSet = true; m_companyCode = std::move(value); }
117 inline void SetCompanyCode(const char* value) { m_companyCodeHasBeenSet = true; m_companyCode.assign(value); }
118 inline FleetSummary& WithCompanyCode(const Aws::String& value) { SetCompanyCode(value); return *this;}
119 inline FleetSummary& WithCompanyCode(Aws::String&& value) { SetCompanyCode(std::move(value)); return *this;}
120 inline FleetSummary& WithCompanyCode(const char* value) { SetCompanyCode(value); return *this;}
122
124
127 inline const FleetStatus& GetFleetStatus() const{ return m_fleetStatus; }
128 inline bool FleetStatusHasBeenSet() const { return m_fleetStatusHasBeenSet; }
129 inline void SetFleetStatus(const FleetStatus& value) { m_fleetStatusHasBeenSet = true; m_fleetStatus = value; }
130 inline void SetFleetStatus(FleetStatus&& value) { m_fleetStatusHasBeenSet = true; m_fleetStatus = std::move(value); }
131 inline FleetSummary& WithFleetStatus(const FleetStatus& value) { SetFleetStatus(value); return *this;}
132 inline FleetSummary& WithFleetStatus(FleetStatus&& value) { SetFleetStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
142 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 inline FleetSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
144 inline FleetSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
145 inline FleetSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 inline FleetSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline FleetSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline FleetSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
149 inline FleetSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
150 inline FleetSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline FleetSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 private:
154
155 Aws::String m_fleetArn;
156 bool m_fleetArnHasBeenSet = false;
157
158 Aws::Utils::DateTime m_createdTime;
159 bool m_createdTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastUpdatedTime;
162 bool m_lastUpdatedTimeHasBeenSet = false;
163
164 Aws::String m_fleetName;
165 bool m_fleetNameHasBeenSet = false;
166
167 Aws::String m_displayName;
168 bool m_displayNameHasBeenSet = false;
169
170 Aws::String m_companyCode;
171 bool m_companyCodeHasBeenSet = false;
172
173 FleetStatus m_fleetStatus;
174 bool m_fleetStatusHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace WorkLink
182} // namespace Aws
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue