AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCapacityTaskId(const Aws::String& value) { m_capacityTaskIdHasBeenSet = true; m_capacityTaskId = value; }
49 inline void SetCapacityTaskId(Aws::String&& value) { m_capacityTaskIdHasBeenSet = true; m_capacityTaskId = std::move(value); }
50 inline void SetCapacityTaskId(const char* value) { m_capacityTaskIdHasBeenSet = true; m_capacityTaskId.assign(value); }
51 inline CapacityTaskSummary& WithCapacityTaskId(const Aws::String& value) { SetCapacityTaskId(value); return *this;}
52 inline CapacityTaskSummary& WithCapacityTaskId(Aws::String&& value) { SetCapacityTaskId(std::move(value)); return *this;}
53 inline CapacityTaskSummary& WithCapacityTaskId(const char* value) { SetCapacityTaskId(value); return *this;}
55
57
60 inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
61 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
62 inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
63 inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
64 inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
65 inline CapacityTaskSummary& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
66 inline CapacityTaskSummary& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
67 inline CapacityTaskSummary& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
69
71
75 inline const Aws::String& GetOrderId() const{ return m_orderId; }
76 inline bool OrderIdHasBeenSet() const { return m_orderIdHasBeenSet; }
77 inline void SetOrderId(const Aws::String& value) { m_orderIdHasBeenSet = true; m_orderId = value; }
78 inline void SetOrderId(Aws::String&& value) { m_orderIdHasBeenSet = true; m_orderId = std::move(value); }
79 inline void SetOrderId(const char* value) { m_orderIdHasBeenSet = true; m_orderId.assign(value); }
80 inline CapacityTaskSummary& WithOrderId(const Aws::String& value) { SetOrderId(value); return *this;}
81 inline CapacityTaskSummary& WithOrderId(Aws::String&& value) { SetOrderId(std::move(value)); return *this;}
82 inline CapacityTaskSummary& WithOrderId(const char* value) { SetOrderId(value); return *this;}
84
86
89 inline const CapacityTaskStatus& GetCapacityTaskStatus() const{ return m_capacityTaskStatus; }
90 inline bool CapacityTaskStatusHasBeenSet() const { return m_capacityTaskStatusHasBeenSet; }
91 inline void SetCapacityTaskStatus(const CapacityTaskStatus& value) { m_capacityTaskStatusHasBeenSet = true; m_capacityTaskStatus = value; }
92 inline void SetCapacityTaskStatus(CapacityTaskStatus&& value) { m_capacityTaskStatusHasBeenSet = true; m_capacityTaskStatus = std::move(value); }
94 inline CapacityTaskSummary& WithCapacityTaskStatus(CapacityTaskStatus&& value) { SetCapacityTaskStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
102 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
103 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
104 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
105 inline CapacityTaskSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
106 inline CapacityTaskSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
114 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
115 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDateHasBeenSet = true; m_completionDate = value; }
116 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::move(value); }
118 inline CapacityTaskSummary& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
126 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
127 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
128 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
130 inline CapacityTaskSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_capacityTaskId;
135 bool m_capacityTaskIdHasBeenSet = false;
136
137 Aws::String m_outpostId;
138 bool m_outpostIdHasBeenSet = false;
139
140 Aws::String m_orderId;
141 bool m_orderIdHasBeenSet = false;
142
143 CapacityTaskStatus m_capacityTaskStatus;
144 bool m_capacityTaskStatusHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationDate;
147 bool m_creationDateHasBeenSet = false;
148
149 Aws::Utils::DateTime m_completionDate;
150 bool m_completionDateHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastModifiedDate;
153 bool m_lastModifiedDateHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Outposts
158} // namespace Aws
CapacityTaskSummary & WithCapacityTaskId(Aws::String &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetCapacityTaskId() const
CapacityTaskSummary & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetCompletionDate(Aws::Utils::DateTime &&value)
CapacityTaskSummary & WithLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_OUTPOSTS_API CapacityTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacityTaskSummary & WithCompletionDate(const Aws::Utils::DateTime &value)
CapacityTaskSummary & WithOutpostId(const char *value)
CapacityTaskSummary & WithOrderId(const Aws::String &value)
const CapacityTaskStatus & GetCapacityTaskStatus() const
void SetCapacityTaskStatus(const CapacityTaskStatus &value)
CapacityTaskSummary & WithOrderId(const char *value)
void SetCompletionDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompletionDate() const
CapacityTaskSummary & WithCapacityTaskStatus(const CapacityTaskStatus &value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
CapacityTaskSummary & WithCapacityTaskStatus(CapacityTaskStatus &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityTaskSummary & WithCapacityTaskId(const char *value)
CapacityTaskSummary & WithCompletionDate(Aws::Utils::DateTime &&value)
void SetOrderId(const Aws::String &value)
CapacityTaskSummary & WithOrderId(Aws::String &&value)
CapacityTaskSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCapacityTaskId(const Aws::String &value)
CapacityTaskSummary & WithOutpostId(Aws::String &&value)
CapacityTaskSummary & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_OUTPOSTS_API CapacityTaskSummary(Aws::Utils::Json::JsonView jsonValue)
CapacityTaskSummary & WithCapacityTaskId(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetCapacityTaskStatus(CapacityTaskStatus &&value)
CapacityTaskSummary & WithOutpostId(const Aws::String &value)
void SetOutpostId(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue