AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationOperationInfoDetails.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kinesisanalyticsv2/model/OperationStatus.h>
11#include <aws/kinesisanalyticsv2/model/ApplicationVersionChangeDetails.h>
12#include <aws/kinesisanalyticsv2/model/OperationFailureDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace KinesisAnalyticsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_KINESISANALYTICSV2_API ApplicationOperationInfoDetails();
40 AWS_KINESISANALYTICSV2_API ApplicationOperationInfoDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const Aws::String& GetOperation() const{ return m_operation; }
48 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
49 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
50 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
51 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
52 inline ApplicationOperationInfoDetails& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
53 inline ApplicationOperationInfoDetails& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
54 inline ApplicationOperationInfoDetails& WithOperation(const char* value) { SetOperation(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
62 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
63 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
64 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
66 inline ApplicationOperationInfoDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
74 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
75 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
76 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
77 inline ApplicationOperationInfoDetails& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
78 inline ApplicationOperationInfoDetails& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
80
82
83 inline const OperationStatus& GetOperationStatus() const{ return m_operationStatus; }
84 inline bool OperationStatusHasBeenSet() const { return m_operationStatusHasBeenSet; }
85 inline void SetOperationStatus(const OperationStatus& value) { m_operationStatusHasBeenSet = true; m_operationStatus = value; }
86 inline void SetOperationStatus(OperationStatus&& value) { m_operationStatusHasBeenSet = true; m_operationStatus = std::move(value); }
90
92
93 inline const ApplicationVersionChangeDetails& GetApplicationVersionChangeDetails() const{ return m_applicationVersionChangeDetails; }
94 inline bool ApplicationVersionChangeDetailsHasBeenSet() const { return m_applicationVersionChangeDetailsHasBeenSet; }
95 inline void SetApplicationVersionChangeDetails(const ApplicationVersionChangeDetails& value) { m_applicationVersionChangeDetailsHasBeenSet = true; m_applicationVersionChangeDetails = value; }
96 inline void SetApplicationVersionChangeDetails(ApplicationVersionChangeDetails&& value) { m_applicationVersionChangeDetailsHasBeenSet = true; m_applicationVersionChangeDetails = std::move(value); }
100
102
103 inline const OperationFailureDetails& GetOperationFailureDetails() const{ return m_operationFailureDetails; }
104 inline bool OperationFailureDetailsHasBeenSet() const { return m_operationFailureDetailsHasBeenSet; }
105 inline void SetOperationFailureDetails(const OperationFailureDetails& value) { m_operationFailureDetailsHasBeenSet = true; m_operationFailureDetails = value; }
106 inline void SetOperationFailureDetails(OperationFailureDetails&& value) { m_operationFailureDetailsHasBeenSet = true; m_operationFailureDetails = std::move(value); }
110 private:
111
112 Aws::String m_operation;
113 bool m_operationHasBeenSet = false;
114
115 Aws::Utils::DateTime m_startTime;
116 bool m_startTimeHasBeenSet = false;
117
118 Aws::Utils::DateTime m_endTime;
119 bool m_endTimeHasBeenSet = false;
120
121 OperationStatus m_operationStatus;
122 bool m_operationStatusHasBeenSet = false;
123
124 ApplicationVersionChangeDetails m_applicationVersionChangeDetails;
125 bool m_applicationVersionChangeDetailsHasBeenSet = false;
126
127 OperationFailureDetails m_operationFailureDetails;
128 bool m_operationFailureDetailsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace KinesisAnalyticsV2
133} // namespace Aws
AWS_KINESISANALYTICSV2_API ApplicationOperationInfoDetails(Aws::Utils::Json::JsonView jsonValue)
ApplicationOperationInfoDetails & WithOperationStatus(OperationStatus &&value)
AWS_KINESISANALYTICSV2_API ApplicationOperationInfoDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationOperationInfoDetails & WithOperation(Aws::String &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationOperationInfoDetails & WithOperation(const char *value)
ApplicationOperationInfoDetails & WithEndTime(Aws::Utils::DateTime &&value)
const ApplicationVersionChangeDetails & GetApplicationVersionChangeDetails() const
ApplicationOperationInfoDetails & WithApplicationVersionChangeDetails(ApplicationVersionChangeDetails &&value)
ApplicationOperationInfoDetails & WithStartTime(Aws::Utils::DateTime &&value)
ApplicationOperationInfoDetails & WithEndTime(const Aws::Utils::DateTime &value)
ApplicationOperationInfoDetails & WithOperationStatus(const OperationStatus &value)
ApplicationOperationInfoDetails & WithApplicationVersionChangeDetails(const ApplicationVersionChangeDetails &value)
ApplicationOperationInfoDetails & WithOperationFailureDetails(const OperationFailureDetails &value)
void SetApplicationVersionChangeDetails(const ApplicationVersionChangeDetails &value)
ApplicationOperationInfoDetails & WithOperation(const Aws::String &value)
void SetApplicationVersionChangeDetails(ApplicationVersionChangeDetails &&value)
ApplicationOperationInfoDetails & WithStartTime(const Aws::Utils::DateTime &value)
ApplicationOperationInfoDetails & WithOperationFailureDetails(OperationFailureDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue