AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLastOperationIdentifier(const Aws::String& value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier = value; }
49 inline void SetLastOperationIdentifier(Aws::String&& value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier = std::move(value); }
50 inline void SetLastOperationIdentifier(const char* value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier.assign(value); }
53 inline EnablementStatusSummary& WithLastOperationIdentifier(const char* value) { SetLastOperationIdentifier(value); return *this;}
55
57
66 inline const EnablementStatus& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const EnablementStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(EnablementStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
70 inline EnablementStatusSummary& WithStatus(const EnablementStatus& value) { SetStatus(value); return *this;}
71 inline EnablementStatusSummary& WithStatus(EnablementStatus&& value) { SetStatus(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_lastOperationIdentifier;
76 bool m_lastOperationIdentifierHasBeenSet = false;
77
78 EnablementStatus m_status;
79 bool m_statusHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ControlTower
84} // namespace Aws
EnablementStatusSummary & WithLastOperationIdentifier(Aws::String &&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)
EnablementStatusSummary & WithStatus(const EnablementStatus &value)
EnablementStatusSummary & WithLastOperationIdentifier(const Aws::String &value)
EnablementStatusSummary & WithLastOperationIdentifier(const char *value)
EnablementStatusSummary & WithStatus(EnablementStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue