AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
LandingZoneOperationSummary.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/model/LandingZoneOperationStatus.h>
9#include <aws/controltower/model/LandingZoneOperationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ControlTower {
22namespace Model {
23
31 public:
32 AWS_CONTROLTOWER_API LandingZoneOperationSummary() = default;
35 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline LandingZoneOperationType GetOperationType() const { return m_operationType; }
42 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
44 m_operationTypeHasBeenSet = true;
45 m_operationType = value;
46 }
48 SetOperationType(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOperationIdentifier() const { return m_operationIdentifier; }
58 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
59 template <typename OperationIdentifierT = Aws::String>
60 void SetOperationIdentifier(OperationIdentifierT&& value) {
61 m_operationIdentifierHasBeenSet = true;
62 m_operationIdentifier = std::forward<OperationIdentifierT>(value);
63 }
64 template <typename OperationIdentifierT = Aws::String>
66 SetOperationIdentifier(std::forward<OperationIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline LandingZoneOperationStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86 private:
88
89 Aws::String m_operationIdentifier;
90
92 bool m_operationTypeHasBeenSet = false;
93 bool m_operationIdentifierHasBeenSet = false;
94 bool m_statusHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ControlTower
99} // namespace Aws
LandingZoneOperationSummary & WithOperationIdentifier(OperationIdentifierT &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLTOWER_API LandingZoneOperationSummary()=default
LandingZoneOperationSummary & WithOperationType(LandingZoneOperationType value)
LandingZoneOperationSummary & WithStatus(LandingZoneOperationStatus value)
AWS_CONTROLTOWER_API LandingZoneOperationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API LandingZoneOperationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue