AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnablementStatusSummary.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/controltower/model/EnablementStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ControlTower
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONTROLTOWER_API EnablementStatusSummary() = default;
37 AWS_CONTROLTOWER_API EnablementStatusSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLastOperationIdentifier() const { return m_lastOperationIdentifier; }
47 inline bool LastOperationIdentifierHasBeenSet() const { return m_lastOperationIdentifierHasBeenSet; }
48 template<typename LastOperationIdentifierT = Aws::String>
49 void SetLastOperationIdentifier(LastOperationIdentifierT&& value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier = std::forward<LastOperationIdentifierT>(value); }
50 template<typename LastOperationIdentifierT = Aws::String>
51 EnablementStatusSummary& WithLastOperationIdentifier(LastOperationIdentifierT&& value) { SetLastOperationIdentifier(std::forward<LastOperationIdentifierT>(value)); return *this;}
53
55
64 inline EnablementStatus GetStatus() const { return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(EnablementStatus value) { m_statusHasBeenSet = true; m_status = value; }
67 inline EnablementStatusSummary& WithStatus(EnablementStatus value) { SetStatus(value); return *this;}
69 private:
70
71 Aws::String m_lastOperationIdentifier;
72 bool m_lastOperationIdentifierHasBeenSet = false;
73
75 bool m_statusHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ControlTower
80} // 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