AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CapacityTaskSummary.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/CapacityTaskStatus.h>
10#include <aws/core/utils/DateTime.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 Outposts
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_OUTPOSTS_API CapacityTaskSummary() = default;
39 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCapacityTaskId() const { return m_capacityTaskId; }
47 inline bool CapacityTaskIdHasBeenSet() const { return m_capacityTaskIdHasBeenSet; }
48 template<typename CapacityTaskIdT = Aws::String>
49 void SetCapacityTaskId(CapacityTaskIdT&& value) { m_capacityTaskIdHasBeenSet = true; m_capacityTaskId = std::forward<CapacityTaskIdT>(value); }
50 template<typename CapacityTaskIdT = Aws::String>
51 CapacityTaskSummary& WithCapacityTaskId(CapacityTaskIdT&& value) { SetCapacityTaskId(std::forward<CapacityTaskIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
59 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
60 template<typename OutpostIdT = Aws::String>
61 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::forward<OutpostIdT>(value); }
62 template<typename OutpostIdT = Aws::String>
63 CapacityTaskSummary& WithOutpostId(OutpostIdT&& value) { SetOutpostId(std::forward<OutpostIdT>(value)); return *this;}
65
67
71 inline const Aws::String& GetOrderId() const { return m_orderId; }
72 inline bool OrderIdHasBeenSet() const { return m_orderIdHasBeenSet; }
73 template<typename OrderIdT = Aws::String>
74 void SetOrderId(OrderIdT&& value) { m_orderIdHasBeenSet = true; m_orderId = std::forward<OrderIdT>(value); }
75 template<typename OrderIdT = Aws::String>
76 CapacityTaskSummary& WithOrderId(OrderIdT&& value) { SetOrderId(std::forward<OrderIdT>(value)); return *this;}
78
80
84 inline const Aws::String& GetAssetId() const { return m_assetId; }
85 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
86 template<typename AssetIdT = Aws::String>
87 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
88 template<typename AssetIdT = Aws::String>
89 CapacityTaskSummary& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
91
93
96 inline CapacityTaskStatus GetCapacityTaskStatus() const { return m_capacityTaskStatus; }
97 inline bool CapacityTaskStatusHasBeenSet() const { return m_capacityTaskStatusHasBeenSet; }
98 inline void SetCapacityTaskStatus(CapacityTaskStatus value) { m_capacityTaskStatusHasBeenSet = true; m_capacityTaskStatus = value; }
101
103
106 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
107 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
108 template<typename CreationDateT = Aws::Utils::DateTime>
109 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
110 template<typename CreationDateT = Aws::Utils::DateTime>
111 CapacityTaskSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCompletionDate() const { return m_completionDate; }
119 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
120 template<typename CompletionDateT = Aws::Utils::DateTime>
121 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::forward<CompletionDateT>(value); }
122 template<typename CompletionDateT = Aws::Utils::DateTime>
123 CapacityTaskSummary& WithCompletionDate(CompletionDateT&& value) { SetCompletionDate(std::forward<CompletionDateT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
131 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
132 template<typename LastModifiedDateT = Aws::Utils::DateTime>
133 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
134 template<typename LastModifiedDateT = Aws::Utils::DateTime>
135 CapacityTaskSummary& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
137 private:
138
139 Aws::String m_capacityTaskId;
140 bool m_capacityTaskIdHasBeenSet = false;
141
142 Aws::String m_outpostId;
143 bool m_outpostIdHasBeenSet = false;
144
145 Aws::String m_orderId;
146 bool m_orderIdHasBeenSet = false;
147
148 Aws::String m_assetId;
149 bool m_assetIdHasBeenSet = false;
150
152 bool m_capacityTaskStatusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationDate{};
155 bool m_creationDateHasBeenSet = false;
156
157 Aws::Utils::DateTime m_completionDate{};
158 bool m_completionDateHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastModifiedDate{};
161 bool m_lastModifiedDateHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Outposts
166} // namespace Aws
AWS_OUTPOSTS_API CapacityTaskSummary()=default
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetCapacityTaskId() const
AWS_OUTPOSTS_API CapacityTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCapacityTaskStatus(CapacityTaskStatus value)
CapacityTaskSummary & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCompletionDate() const
CapacityTaskSummary & WithAssetId(AssetIdT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityTaskSummary & WithOutpostId(OutpostIdT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
CapacityTaskStatus GetCapacityTaskStatus() const
AWS_OUTPOSTS_API CapacityTaskSummary(Aws::Utils::Json::JsonView jsonValue)
CapacityTaskSummary & WithCompletionDate(CompletionDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetCompletionDate(CompletionDateT &&value)
CapacityTaskSummary & WithCapacityTaskStatus(CapacityTaskStatus value)
CapacityTaskSummary & WithOrderId(OrderIdT &&value)
CapacityTaskSummary & WithLastModifiedDate(LastModifiedDateT &&value)
CapacityTaskSummary & WithCapacityTaskId(CapacityTaskIdT &&value)
void SetCapacityTaskId(CapacityTaskIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue