AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationOperationInfo.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisAnalyticsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API ApplicationOperationInfo();
38 AWS_KINESISANALYTICSV2_API ApplicationOperationInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API ApplicationOperationInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetOperation() const{ return m_operation; }
46 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
47 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
48 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
49 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
50 inline ApplicationOperationInfo& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
51 inline ApplicationOperationInfo& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
52 inline ApplicationOperationInfo& WithOperation(const char* value) { SetOperation(value); return *this;}
54
56
57 inline const Aws::String& GetOperationId() const{ return m_operationId; }
58 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
59 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
60 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
61 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
62 inline ApplicationOperationInfo& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
63 inline ApplicationOperationInfo& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
64 inline ApplicationOperationInfo& WithOperationId(const char* value) { SetOperationId(value); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
72 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
73 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
74 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
75 inline ApplicationOperationInfo& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
76 inline ApplicationOperationInfo& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
84 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
85 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
86 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
87 inline ApplicationOperationInfo& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
88 inline ApplicationOperationInfo& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
90
92
93 inline const OperationStatus& GetOperationStatus() const{ return m_operationStatus; }
94 inline bool OperationStatusHasBeenSet() const { return m_operationStatusHasBeenSet; }
95 inline void SetOperationStatus(const OperationStatus& value) { m_operationStatusHasBeenSet = true; m_operationStatus = value; }
96 inline void SetOperationStatus(OperationStatus&& value) { m_operationStatusHasBeenSet = true; m_operationStatus = std::move(value); }
98 inline ApplicationOperationInfo& WithOperationStatus(OperationStatus&& value) { SetOperationStatus(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_operation;
103 bool m_operationHasBeenSet = false;
104
105 Aws::String m_operationId;
106 bool m_operationIdHasBeenSet = false;
107
108 Aws::Utils::DateTime m_startTime;
109 bool m_startTimeHasBeenSet = false;
110
111 Aws::Utils::DateTime m_endTime;
112 bool m_endTimeHasBeenSet = false;
113
114 OperationStatus m_operationStatus;
115 bool m_operationStatusHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace KinesisAnalyticsV2
120} // namespace Aws
ApplicationOperationInfo & WithOperationId(const Aws::String &value)
ApplicationOperationInfo & WithOperationStatus(OperationStatus &&value)
ApplicationOperationInfo & WithEndTime(Aws::Utils::DateTime &&value)
ApplicationOperationInfo & WithStartTime(Aws::Utils::DateTime &&value)
AWS_KINESISANALYTICSV2_API ApplicationOperationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationOperationInfo & WithOperationId(const char *value)
ApplicationOperationInfo & WithOperation(Aws::String &&value)
AWS_KINESISANALYTICSV2_API ApplicationOperationInfo(Aws::Utils::Json::JsonView jsonValue)
ApplicationOperationInfo & WithOperationId(Aws::String &&value)
ApplicationOperationInfo & WithStartTime(const Aws::Utils::DateTime &value)
ApplicationOperationInfo & WithOperation(const char *value)
ApplicationOperationInfo & WithEndTime(const Aws::Utils::DateTime &value)
ApplicationOperationInfo & WithOperationStatus(const OperationStatus &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationOperationInfo & WithOperation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue