AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnabledControlSummary.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/DriftStatusSummary.h>
10#include <aws/controltower/model/EnablementStatusSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ControlTower
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONTROLTOWER_API EnabledControlSummary() = default;
38 AWS_CONTROLTOWER_API EnabledControlSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 EnabledControlSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetControlIdentifier() const { return m_controlIdentifier; }
60 inline bool ControlIdentifierHasBeenSet() const { return m_controlIdentifierHasBeenSet; }
61 template<typename ControlIdentifierT = Aws::String>
62 void SetControlIdentifier(ControlIdentifierT&& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = std::forward<ControlIdentifierT>(value); }
63 template<typename ControlIdentifierT = Aws::String>
64 EnabledControlSummary& WithControlIdentifier(ControlIdentifierT&& value) { SetControlIdentifier(std::forward<ControlIdentifierT>(value)); return *this;}
66
68
71 inline const DriftStatusSummary& GetDriftStatusSummary() const { return m_driftStatusSummary; }
72 inline bool DriftStatusSummaryHasBeenSet() const { return m_driftStatusSummaryHasBeenSet; }
73 template<typename DriftStatusSummaryT = DriftStatusSummary>
74 void SetDriftStatusSummary(DriftStatusSummaryT&& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = std::forward<DriftStatusSummaryT>(value); }
75 template<typename DriftStatusSummaryT = DriftStatusSummary>
76 EnabledControlSummary& WithDriftStatusSummary(DriftStatusSummaryT&& value) { SetDriftStatusSummary(std::forward<DriftStatusSummaryT>(value)); return *this;}
78
80
83 inline const EnablementStatusSummary& GetStatusSummary() const { return m_statusSummary; }
84 inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; }
85 template<typename StatusSummaryT = EnablementStatusSummary>
86 void SetStatusSummary(StatusSummaryT&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::forward<StatusSummaryT>(value); }
87 template<typename StatusSummaryT = EnablementStatusSummary>
88 EnabledControlSummary& WithStatusSummary(StatusSummaryT&& value) { SetStatusSummary(std::forward<StatusSummaryT>(value)); return *this;}
90
92
95 inline const Aws::String& GetTargetIdentifier() const { return m_targetIdentifier; }
96 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
97 template<typename TargetIdentifierT = Aws::String>
98 void SetTargetIdentifier(TargetIdentifierT&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::forward<TargetIdentifierT>(value); }
99 template<typename TargetIdentifierT = Aws::String>
100 EnabledControlSummary& WithTargetIdentifier(TargetIdentifierT&& value) { SetTargetIdentifier(std::forward<TargetIdentifierT>(value)); return *this;}
102 private:
103
104 Aws::String m_arn;
105 bool m_arnHasBeenSet = false;
106
107 Aws::String m_controlIdentifier;
108 bool m_controlIdentifierHasBeenSet = false;
109
110 DriftStatusSummary m_driftStatusSummary;
111 bool m_driftStatusSummaryHasBeenSet = false;
112
113 EnablementStatusSummary m_statusSummary;
114 bool m_statusSummaryHasBeenSet = false;
115
116 Aws::String m_targetIdentifier;
117 bool m_targetIdentifierHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ControlTower
122} // namespace Aws
EnabledControlSummary & WithStatusSummary(StatusSummaryT &&value)
void SetControlIdentifier(ControlIdentifierT &&value)
EnabledControlSummary & WithArn(ArnT &&value)
EnabledControlSummary & WithControlIdentifier(ControlIdentifierT &&value)
EnabledControlSummary & WithTargetIdentifier(TargetIdentifierT &&value)
const EnablementStatusSummary & GetStatusSummary() const
AWS_CONTROLTOWER_API EnabledControlSummary(Aws::Utils::Json::JsonView jsonValue)
EnabledControlSummary & WithDriftStatusSummary(DriftStatusSummaryT &&value)
const DriftStatusSummary & GetDriftStatusSummary() const
void SetDriftStatusSummary(DriftStatusSummaryT &&value)
AWS_CONTROLTOWER_API EnabledControlSummary()=default
AWS_CONTROLTOWER_API EnabledControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue