AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityAllocation.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/CapacityAllocationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Athena
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_ATHENA_API CapacityAllocation();
41 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CapacityAllocationStatus& GetStatus() const{ return m_status; }
49 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 inline void SetStatus(const CapacityAllocationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
51 inline void SetStatus(CapacityAllocationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline CapacityAllocation& WithStatus(const CapacityAllocationStatus& value) { SetStatus(value); return *this;}
53 inline CapacityAllocation& WithStatus(CapacityAllocationStatus&& value) { SetStatus(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
61 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
62 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
63 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
64 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
65 inline CapacityAllocation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
66 inline CapacityAllocation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
67 inline CapacityAllocation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; }
75 inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; }
76 inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; }
77 inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); }
78 inline CapacityAllocation& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;}
79 inline CapacityAllocation& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetRequestCompletionTime() const{ return m_requestCompletionTime; }
87 inline bool RequestCompletionTimeHasBeenSet() const { return m_requestCompletionTimeHasBeenSet; }
88 inline void SetRequestCompletionTime(const Aws::Utils::DateTime& value) { m_requestCompletionTimeHasBeenSet = true; m_requestCompletionTime = value; }
89 inline void SetRequestCompletionTime(Aws::Utils::DateTime&& value) { m_requestCompletionTimeHasBeenSet = true; m_requestCompletionTime = std::move(value); }
93 private:
94
96 bool m_statusHasBeenSet = false;
97
98 Aws::String m_statusMessage;
99 bool m_statusMessageHasBeenSet = false;
100
101 Aws::Utils::DateTime m_requestTime;
102 bool m_requestTimeHasBeenSet = false;
103
104 Aws::Utils::DateTime m_requestCompletionTime;
105 bool m_requestCompletionTimeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Athena
110} // namespace Aws
AWS_ATHENA_API CapacityAllocation(Aws::Utils::Json::JsonView jsonValue)
void SetRequestCompletionTime(Aws::Utils::DateTime &&value)
AWS_ATHENA_API CapacityAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetRequestCompletionTime() const
void SetStatusMessage(Aws::String &&value)
void SetStatus(const CapacityAllocationStatus &value)
CapacityAllocation & WithRequestTime(Aws::Utils::DateTime &&value)
void SetRequestCompletionTime(const Aws::Utils::DateTime &value)
CapacityAllocation & WithStatusMessage(Aws::String &&value)
const Aws::String & GetStatusMessage() const
CapacityAllocation & WithStatus(const CapacityAllocationStatus &value)
CapacityAllocation & WithRequestTime(const Aws::Utils::DateTime &value)
const CapacityAllocationStatus & GetStatus() const
void SetRequestTime(const Aws::Utils::DateTime &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetRequestTime() const
void SetRequestTime(Aws::Utils::DateTime &&value)
void SetStatusMessage(const Aws::String &value)
CapacityAllocation & WithRequestCompletionTime(Aws::Utils::DateTime &&value)
CapacityAllocation & WithStatusMessage(const Aws::String &value)
CapacityAllocation & WithStatus(CapacityAllocationStatus &&value)
CapacityAllocation & WithStatusMessage(const char *value)
CapacityAllocation & WithRequestCompletionTime(const Aws::Utils::DateTime &value)
void SetStatus(CapacityAllocationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue