AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline EnabledControlSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline EnabledControlSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline EnabledControlSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetControlIdentifier() const{ return m_controlIdentifier; }
62 inline bool ControlIdentifierHasBeenSet() const { return m_controlIdentifierHasBeenSet; }
63 inline void SetControlIdentifier(const Aws::String& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = value; }
64 inline void SetControlIdentifier(Aws::String&& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = std::move(value); }
65 inline void SetControlIdentifier(const char* value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier.assign(value); }
66 inline EnabledControlSummary& WithControlIdentifier(const Aws::String& value) { SetControlIdentifier(value); return *this;}
67 inline EnabledControlSummary& WithControlIdentifier(Aws::String&& value) { SetControlIdentifier(std::move(value)); return *this;}
68 inline EnabledControlSummary& WithControlIdentifier(const char* value) { SetControlIdentifier(value); return *this;}
70
72
75 inline const DriftStatusSummary& GetDriftStatusSummary() const{ return m_driftStatusSummary; }
76 inline bool DriftStatusSummaryHasBeenSet() const { return m_driftStatusSummaryHasBeenSet; }
77 inline void SetDriftStatusSummary(const DriftStatusSummary& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = value; }
78 inline void SetDriftStatusSummary(DriftStatusSummary&& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = std::move(value); }
80 inline EnabledControlSummary& WithDriftStatusSummary(DriftStatusSummary&& value) { SetDriftStatusSummary(std::move(value)); return *this;}
82
84
87 inline const EnablementStatusSummary& GetStatusSummary() const{ return m_statusSummary; }
88 inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; }
89 inline void SetStatusSummary(const EnablementStatusSummary& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = value; }
90 inline void SetStatusSummary(EnablementStatusSummary&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::move(value); }
92 inline EnabledControlSummary& WithStatusSummary(EnablementStatusSummary&& value) { SetStatusSummary(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetTargetIdentifier() const{ return m_targetIdentifier; }
100 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
101 inline void SetTargetIdentifier(const Aws::String& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = value; }
102 inline void SetTargetIdentifier(Aws::String&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::move(value); }
103 inline void SetTargetIdentifier(const char* value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier.assign(value); }
104 inline EnabledControlSummary& WithTargetIdentifier(const Aws::String& value) { SetTargetIdentifier(value); return *this;}
105 inline EnabledControlSummary& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
106 inline EnabledControlSummary& WithTargetIdentifier(const char* value) { SetTargetIdentifier(value); return *this;}
108 private:
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
113 Aws::String m_controlIdentifier;
114 bool m_controlIdentifierHasBeenSet = false;
115
116 DriftStatusSummary m_driftStatusSummary;
117 bool m_driftStatusSummaryHasBeenSet = false;
118
119 EnablementStatusSummary m_statusSummary;
120 bool m_statusSummaryHasBeenSet = false;
121
122 Aws::String m_targetIdentifier;
123 bool m_targetIdentifierHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ControlTower
128} // namespace Aws
EnabledControlSummary & WithArn(Aws::String &&value)
EnabledControlSummary & WithControlIdentifier(const char *value)
EnabledControlSummary & WithControlIdentifier(const Aws::String &value)
void SetDriftStatusSummary(const DriftStatusSummary &value)
EnabledControlSummary & WithTargetIdentifier(Aws::String &&value)
EnabledControlSummary & WithArn(const char *value)
const EnablementStatusSummary & GetStatusSummary() const
AWS_CONTROLTOWER_API EnabledControlSummary(Aws::Utils::Json::JsonView jsonValue)
EnabledControlSummary & WithStatusSummary(EnablementStatusSummary &&value)
EnabledControlSummary & WithDriftStatusSummary(DriftStatusSummary &&value)
const DriftStatusSummary & GetDriftStatusSummary() const
EnabledControlSummary & WithTargetIdentifier(const char *value)
EnabledControlSummary & WithControlIdentifier(Aws::String &&value)
void SetStatusSummary(EnablementStatusSummary &&value)
EnabledControlSummary & WithArn(const Aws::String &value)
void SetStatusSummary(const EnablementStatusSummary &value)
EnabledControlSummary & WithStatusSummary(const EnablementStatusSummary &value)
EnabledControlSummary & WithTargetIdentifier(const Aws::String &value)
void SetDriftStatusSummary(DriftStatusSummary &&value)
AWS_CONTROLTOWER_API EnabledControlSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnabledControlSummary & WithDriftStatusSummary(const DriftStatusSummary &value)
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