AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
EnablementStatusSummary.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/model/EnablementStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ControlTower {
21namespace Model {
22
30 public:
31 AWS_CONTROLTOWER_API EnablementStatusSummary() = default;
32 AWS_CONTROLTOWER_API EnablementStatusSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline EnablementStatus GetStatus() const { return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(EnablementStatus value) {
49 m_statusHasBeenSet = true;
50 m_status = value;
51 }
53 SetStatus(value);
54 return *this;
55 }
57
59
62 inline const Aws::String& GetLastOperationIdentifier() const { return m_lastOperationIdentifier; }
63 inline bool LastOperationIdentifierHasBeenSet() const { return m_lastOperationIdentifierHasBeenSet; }
64 template <typename LastOperationIdentifierT = Aws::String>
65 void SetLastOperationIdentifier(LastOperationIdentifierT&& value) {
66 m_lastOperationIdentifierHasBeenSet = true;
67 m_lastOperationIdentifier = std::forward<LastOperationIdentifierT>(value);
68 }
69 template <typename LastOperationIdentifierT = Aws::String>
70 EnablementStatusSummary& WithLastOperationIdentifier(LastOperationIdentifierT&& value) {
71 SetLastOperationIdentifier(std::forward<LastOperationIdentifierT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::String m_lastOperationIdentifier;
79 bool m_statusHasBeenSet = false;
80 bool m_lastOperationIdentifierHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ControlTower
85} // namespace Aws
EnablementStatusSummary & WithLastOperationIdentifier(LastOperationIdentifierT &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLTOWER_API EnablementStatusSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API EnablementStatusSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastOperationIdentifier(LastOperationIdentifierT &&value)
AWS_CONTROLTOWER_API EnablementStatusSummary()=default
EnablementStatusSummary & WithStatus(EnablementStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue