AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FleetArnT = Aws::String>
50 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::forward<FleetArnT>(value); }
51 template<typename FleetArnT = Aws::String>
52 FleetSummary& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
60 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
61 template<typename CreatedTimeT = Aws::Utils::DateTime>
62 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
63 template<typename CreatedTimeT = Aws::Utils::DateTime>
64 FleetSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
72 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
73 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
74 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
75 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
76 FleetSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetFleetName() const { return m_fleetName; }
84 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
85 template<typename FleetNameT = Aws::String>
86 void SetFleetName(FleetNameT&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::forward<FleetNameT>(value); }
87 template<typename FleetNameT = Aws::String>
88 FleetSummary& WithFleetName(FleetNameT&& value) { SetFleetName(std::forward<FleetNameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDisplayName() const { return m_displayName; }
96 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
97 template<typename DisplayNameT = Aws::String>
98 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
99 template<typename DisplayNameT = Aws::String>
100 FleetSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
102
104
107 inline const Aws::String& GetCompanyCode() const { return m_companyCode; }
108 inline bool CompanyCodeHasBeenSet() const { return m_companyCodeHasBeenSet; }
109 template<typename CompanyCodeT = Aws::String>
110 void SetCompanyCode(CompanyCodeT&& value) { m_companyCodeHasBeenSet = true; m_companyCode = std::forward<CompanyCodeT>(value); }
111 template<typename CompanyCodeT = Aws::String>
112 FleetSummary& WithCompanyCode(CompanyCodeT&& value) { SetCompanyCode(std::forward<CompanyCodeT>(value)); return *this;}
114
116
119 inline FleetStatus GetFleetStatus() const { return m_fleetStatus; }
120 inline bool FleetStatusHasBeenSet() const { return m_fleetStatusHasBeenSet; }
121 inline void SetFleetStatus(FleetStatus value) { m_fleetStatusHasBeenSet = true; m_fleetStatus = value; }
122 inline FleetSummary& WithFleetStatus(FleetStatus value) { SetFleetStatus(value); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
133 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 FleetSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
135 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 FleetSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
138 }
140 private:
141
142 Aws::String m_fleetArn;
143 bool m_fleetArnHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdTime{};
146 bool m_createdTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastUpdatedTime{};
149 bool m_lastUpdatedTimeHasBeenSet = false;
150
151 Aws::String m_fleetName;
152 bool m_fleetNameHasBeenSet = false;
153
154 Aws::String m_displayName;
155 bool m_displayNameHasBeenSet = false;
156
157 Aws::String m_companyCode;
158 bool m_companyCodeHasBeenSet = false;
159
160 FleetStatus m_fleetStatus{FleetStatus::NOT_SET};
161 bool m_fleetStatusHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace WorkLink
169} // 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