AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnabledBaselineSummary.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/EnablementStatusSummary.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 EnabledBaselineSummary();
37 AWS_CONTROLTOWER_API EnabledBaselineSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline EnabledBaselineSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline EnabledBaselineSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline EnabledBaselineSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetBaselineIdentifier() const{ return m_baselineIdentifier; }
62 inline bool BaselineIdentifierHasBeenSet() const { return m_baselineIdentifierHasBeenSet; }
63 inline void SetBaselineIdentifier(const Aws::String& value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier = value; }
64 inline void SetBaselineIdentifier(Aws::String&& value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier = std::move(value); }
65 inline void SetBaselineIdentifier(const char* value) { m_baselineIdentifierHasBeenSet = true; m_baselineIdentifier.assign(value); }
67 inline EnabledBaselineSummary& WithBaselineIdentifier(Aws::String&& value) { SetBaselineIdentifier(std::move(value)); return *this;}
68 inline EnabledBaselineSummary& WithBaselineIdentifier(const char* value) { SetBaselineIdentifier(value); return *this;}
70
72
75 inline const Aws::String& GetBaselineVersion() const{ return m_baselineVersion; }
76 inline bool BaselineVersionHasBeenSet() const { return m_baselineVersionHasBeenSet; }
77 inline void SetBaselineVersion(const Aws::String& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = value; }
78 inline void SetBaselineVersion(Aws::String&& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = std::move(value); }
79 inline void SetBaselineVersion(const char* value) { m_baselineVersionHasBeenSet = true; m_baselineVersion.assign(value); }
80 inline EnabledBaselineSummary& WithBaselineVersion(const Aws::String& value) { SetBaselineVersion(value); return *this;}
81 inline EnabledBaselineSummary& WithBaselineVersion(Aws::String&& value) { SetBaselineVersion(std::move(value)); return *this;}
82 inline EnabledBaselineSummary& WithBaselineVersion(const char* value) { SetBaselineVersion(value); return *this;}
84
86
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 EnabledBaselineSummary& 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 EnabledBaselineSummary& WithTargetIdentifier(const Aws::String& value) { SetTargetIdentifier(value); return *this;}
105 inline EnabledBaselineSummary& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
106 inline EnabledBaselineSummary& 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_baselineIdentifier;
114 bool m_baselineIdentifierHasBeenSet = false;
115
116 Aws::String m_baselineVersion;
117 bool m_baselineVersionHasBeenSet = 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
EnabledBaselineSummary & WithBaselineIdentifier(const Aws::String &value)
AWS_CONTROLTOWER_API EnabledBaselineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
EnabledBaselineSummary & WithBaselineVersion(const Aws::String &value)
void SetStatusSummary(EnablementStatusSummary &&value)
EnabledBaselineSummary & WithTargetIdentifier(const char *value)
EnabledBaselineSummary & WithTargetIdentifier(Aws::String &&value)
EnabledBaselineSummary & WithStatusSummary(EnablementStatusSummary &&value)
void SetStatusSummary(const EnablementStatusSummary &value)
EnabledBaselineSummary & WithTargetIdentifier(const Aws::String &value)
EnabledBaselineSummary & WithBaselineIdentifier(const char *value)
EnabledBaselineSummary & WithArn(const Aws::String &value)
EnabledBaselineSummary & WithArn(const char *value)
const EnablementStatusSummary & GetStatusSummary() const
EnabledBaselineSummary & WithBaselineVersion(Aws::String &&value)
EnabledBaselineSummary & WithBaselineIdentifier(Aws::String &&value)
EnabledBaselineSummary & WithArn(Aws::String &&value)
AWS_CONTROLTOWER_API EnabledBaselineSummary(Aws::Utils::Json::JsonView jsonValue)
EnabledBaselineSummary & WithStatusSummary(const EnablementStatusSummary &value)
EnabledBaselineSummary & WithBaselineVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue