AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnabledBaselineDetails.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/controltower/model/EnablementStatusSummary.h>
11#include <aws/controltower/model/EnabledBaselineParameterSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ControlTower
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONTROLTOWER_API EnabledBaselineDetails();
39 AWS_CONTROLTOWER_API EnabledBaselineDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline EnabledBaselineDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline EnabledBaselineDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline EnabledBaselineDetails& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::String& GetBaselineIdentifier() const{ return m_baselineIdentifier; }
64 inline bool BaselineIdentifierHasBeenSet() const { return m_baselineIdentifierHasBeenSet; }
65 inline void SetBaselineIdentifier(const Aws::String& value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier = value; }
66 inline void SetBaselineIdentifier(Aws::String&& value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier = std::move(value); }
67 inline void SetBaselineIdentifier(const char* value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier.assign(value); }
69 inline EnabledBaselineDetails& WithBaselineIdentifier(Aws::String&& value) { SetBaselineIdentifier(std::move(value)); return *this;}
70 inline EnabledBaselineDetails& WithBaselineIdentifier(const char* value) { SetBaselineIdentifier(value); return *this;}
72
74
77 inline const Aws::String& GetBaselineVersion() const{ return m_baselineVersion; }
78 inline bool BaselineVersionHasBeenSet() const { return m_baselineVersionHasBeenSet; }
79 inline void SetBaselineVersion(const Aws::String& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = value; }
80 inline void SetBaselineVersion(Aws::String&& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = std::move(value); }
81 inline void SetBaselineVersion(const char* value) { m_baselineVersionHasBeenSet = true; m_baselineVersion.assign(value); }
82 inline EnabledBaselineDetails& WithBaselineVersion(const Aws::String& value) { SetBaselineVersion(value); return *this;}
83 inline EnabledBaselineDetails& WithBaselineVersion(Aws::String&& value) { SetBaselineVersion(std::move(value)); return *this;}
84 inline EnabledBaselineDetails& WithBaselineVersion(const char* value) { SetBaselineVersion(value); return *this;}
86
88
92 inline const Aws::Vector<EnabledBaselineParameterSummary>& GetParameters() const{ return m_parameters; }
93 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
94 inline void SetParameters(const Aws::Vector<EnabledBaselineParameterSummary>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
95 inline void SetParameters(Aws::Vector<EnabledBaselineParameterSummary>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
98 inline EnabledBaselineDetails& AddParameters(const EnabledBaselineParameterSummary& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
99 inline EnabledBaselineDetails& AddParameters(EnabledBaselineParameterSummary&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
101
103
104 inline const EnablementStatusSummary& GetStatusSummary() const{ return m_statusSummary; }
105 inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; }
106 inline void SetStatusSummary(const EnablementStatusSummary& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = value; }
107 inline void SetStatusSummary(EnablementStatusSummary&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::move(value); }
109 inline EnabledBaselineDetails& WithStatusSummary(EnablementStatusSummary&& value) { SetStatusSummary(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetTargetIdentifier() const{ return m_targetIdentifier; }
117 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
118 inline void SetTargetIdentifier(const Aws::String& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = value; }
119 inline void SetTargetIdentifier(Aws::String&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::move(value); }
120 inline void SetTargetIdentifier(const char* value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier.assign(value); }
121 inline EnabledBaselineDetails& WithTargetIdentifier(const Aws::String& value) { SetTargetIdentifier(value); return *this;}
122 inline EnabledBaselineDetails& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
123 inline EnabledBaselineDetails& WithTargetIdentifier(const char* value) { SetTargetIdentifier(value); return *this;}
125 private:
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129
130 Aws::String m_baselineIdentifier;
131 bool m_baselineIdentifierHasBeenSet = false;
132
133 Aws::String m_baselineVersion;
134 bool m_baselineVersionHasBeenSet = false;
135
137 bool m_parametersHasBeenSet = false;
138
139 EnablementStatusSummary m_statusSummary;
140 bool m_statusSummaryHasBeenSet = false;
141
142 Aws::String m_targetIdentifier;
143 bool m_targetIdentifierHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace ControlTower
148} // namespace Aws
EnabledBaselineDetails & WithBaselineVersion(Aws::String &&value)
EnabledBaselineDetails & WithBaselineVersion(const char *value)
const EnablementStatusSummary & GetStatusSummary() const
EnabledBaselineDetails & WithTargetIdentifier(const Aws::String &value)
EnabledBaselineDetails & WithArn(Aws::String &&value)
EnabledBaselineDetails & WithArn(const Aws::String &value)
void SetStatusSummary(EnablementStatusSummary &&value)
EnabledBaselineDetails & WithBaselineIdentifier(Aws::String &&value)
EnabledBaselineDetails & WithTargetIdentifier(Aws::String &&value)
void SetParameters(Aws::Vector< EnabledBaselineParameterSummary > &&value)
AWS_CONTROLTOWER_API EnabledBaselineDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API EnabledBaselineDetails(Aws::Utils::Json::JsonView jsonValue)
EnabledBaselineDetails & WithTargetIdentifier(const char *value)
EnabledBaselineDetails & WithBaselineIdentifier(const Aws::String &value)
EnabledBaselineDetails & WithBaselineIdentifier(const char *value)
void SetParameters(const Aws::Vector< EnabledBaselineParameterSummary > &value)
EnabledBaselineDetails & AddParameters(EnabledBaselineParameterSummary &&value)
void SetStatusSummary(const EnablementStatusSummary &value)
EnabledBaselineDetails & WithParameters(const Aws::Vector< EnabledBaselineParameterSummary > &value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
EnabledBaselineDetails & WithStatusSummary(EnablementStatusSummary &&value)
EnabledBaselineDetails & WithArn(const char *value)
EnabledBaselineDetails & WithBaselineVersion(const Aws::String &value)
EnabledBaselineDetails & WithStatusSummary(const EnablementStatusSummary &value)
EnabledBaselineDetails & WithParameters(Aws::Vector< EnabledBaselineParameterSummary > &&value)
const Aws::Vector< EnabledBaselineParameterSummary > & GetParameters() const
EnabledBaselineDetails & AddParameters(const EnabledBaselineParameterSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue