AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OperationSummary.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/OperationType.h>
10#include <aws/apprunner/model/OperationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppRunner
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPRUNNER_API OperationSummary();
39 AWS_APPRUNNER_API OperationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline OperationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline OperationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline OperationSummary& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const OperationType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const OperationType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(OperationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline OperationSummary& WithType(const OperationType& value) { SetType(value); return *this;}
68 inline OperationSummary& WithType(OperationType&& value) { SetType(std::move(value)); return *this;}
70
72
75 inline const OperationStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(OperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline OperationSummary& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
80 inline OperationSummary& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
89 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
90 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
91 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
92 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
93 inline OperationSummary& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
94 inline OperationSummary& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
95 inline OperationSummary& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
103 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
104 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
105 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
106 inline OperationSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
107 inline OperationSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
115 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
116 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
117 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
118 inline OperationSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
119 inline OperationSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
130 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
131 inline OperationSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
132 inline OperationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 OperationType m_type;
140 bool m_typeHasBeenSet = false;
141
142 OperationStatus m_status;
143 bool m_statusHasBeenSet = false;
144
145 Aws::String m_targetArn;
146 bool m_targetArnHasBeenSet = false;
147
148 Aws::Utils::DateTime m_startedAt;
149 bool m_startedAtHasBeenSet = false;
150
151 Aws::Utils::DateTime m_endedAt;
152 bool m_endedAtHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updatedAt;
155 bool m_updatedAtHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace AppRunner
160} // namespace Aws
OperationSummary & WithTargetArn(const Aws::String &value)
OperationSummary & WithId(const char *value)
OperationSummary & WithId(const Aws::String &value)
const OperationStatus & GetStatus() const
OperationSummary & WithStartedAt(const Aws::Utils::DateTime &value)
OperationSummary & WithEndedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetTargetArn() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetTargetArn(const Aws::String &value)
const OperationType & GetType() const
OperationSummary & WithStatus(const OperationStatus &value)
OperationSummary & WithTargetArn(Aws::String &&value)
OperationSummary & WithId(Aws::String &&value)
OperationSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
OperationSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
OperationSummary & WithStartedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
OperationSummary & WithStatus(OperationStatus &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(OperationStatus &&value)
void SetId(const Aws::String &value)
OperationSummary & WithEndedAt(const Aws::Utils::DateTime &value)
void SetType(const OperationType &value)
void SetStatus(const OperationStatus &value)
OperationSummary & WithType(const OperationType &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetType(OperationType &&value)
const Aws::Utils::DateTime & GetStartedAt() const
OperationSummary & WithTargetArn(const char *value)
AWS_APPRUNNER_API OperationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetEndedAt(Aws::Utils::DateTime &&value)
OperationSummary & WithType(OperationType &&value)
AWS_APPRUNNER_API OperationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue