AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PatchBaselineIdentity.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/OperatingSystem.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 SSM
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSM_API PatchBaselineIdentity();
40
41
43
46 inline const Aws::String& GetBaselineId() const{ return m_baselineId; }
47 inline bool BaselineIdHasBeenSet() const { return m_baselineIdHasBeenSet; }
48 inline void SetBaselineId(const Aws::String& value) { m_baselineIdHasBeenSet = true; m_baselineId = value; }
49 inline void SetBaselineId(Aws::String&& value) { m_baselineIdHasBeenSet = true; m_baselineId = std::move(value); }
50 inline void SetBaselineId(const char* value) { m_baselineIdHasBeenSet = true; m_baselineId.assign(value); }
51 inline PatchBaselineIdentity& WithBaselineId(const Aws::String& value) { SetBaselineId(value); return *this;}
52 inline PatchBaselineIdentity& WithBaselineId(Aws::String&& value) { SetBaselineId(std::move(value)); return *this;}
53 inline PatchBaselineIdentity& WithBaselineId(const char* value) { SetBaselineId(value); return *this;}
55
57
60 inline const Aws::String& GetBaselineName() const{ return m_baselineName; }
61 inline bool BaselineNameHasBeenSet() const { return m_baselineNameHasBeenSet; }
62 inline void SetBaselineName(const Aws::String& value) { m_baselineNameHasBeenSet = true; m_baselineName = value; }
63 inline void SetBaselineName(Aws::String&& value) { m_baselineNameHasBeenSet = true; m_baselineName = std::move(value); }
64 inline void SetBaselineName(const char* value) { m_baselineNameHasBeenSet = true; m_baselineName.assign(value); }
65 inline PatchBaselineIdentity& WithBaselineName(const Aws::String& value) { SetBaselineName(value); return *this;}
66 inline PatchBaselineIdentity& WithBaselineName(Aws::String&& value) { SetBaselineName(std::move(value)); return *this;}
67 inline PatchBaselineIdentity& WithBaselineName(const char* value) { SetBaselineName(value); return *this;}
69
71
75 inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
76 inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
77 inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
78 inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
79 inline PatchBaselineIdentity& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
80 inline PatchBaselineIdentity& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetBaselineDescription() const{ return m_baselineDescription; }
88 inline bool BaselineDescriptionHasBeenSet() const { return m_baselineDescriptionHasBeenSet; }
89 inline void SetBaselineDescription(const Aws::String& value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription = value; }
90 inline void SetBaselineDescription(Aws::String&& value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription = std::move(value); }
91 inline void SetBaselineDescription(const char* value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription.assign(value); }
93 inline PatchBaselineIdentity& WithBaselineDescription(Aws::String&& value) { SetBaselineDescription(std::move(value)); return *this;}
94 inline PatchBaselineIdentity& WithBaselineDescription(const char* value) { SetBaselineDescription(value); return *this;}
96
98
103 inline bool GetDefaultBaseline() const{ return m_defaultBaseline; }
104 inline bool DefaultBaselineHasBeenSet() const { return m_defaultBaselineHasBeenSet; }
105 inline void SetDefaultBaseline(bool value) { m_defaultBaselineHasBeenSet = true; m_defaultBaseline = value; }
106 inline PatchBaselineIdentity& WithDefaultBaseline(bool value) { SetDefaultBaseline(value); return *this;}
108 private:
109
110 Aws::String m_baselineId;
111 bool m_baselineIdHasBeenSet = false;
112
113 Aws::String m_baselineName;
114 bool m_baselineNameHasBeenSet = false;
115
116 OperatingSystem m_operatingSystem;
117 bool m_operatingSystemHasBeenSet = false;
118
119 Aws::String m_baselineDescription;
120 bool m_baselineDescriptionHasBeenSet = false;
121
122 bool m_defaultBaseline;
123 bool m_defaultBaselineHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SSM
128} // namespace Aws
void SetBaselineId(const Aws::String &value)
const Aws::String & GetBaselineDescription() const
void SetOperatingSystem(const OperatingSystem &value)
PatchBaselineIdentity & WithBaselineName(Aws::String &&value)
PatchBaselineIdentity & WithBaselineId(const char *value)
void SetBaselineDescription(const Aws::String &value)
PatchBaselineIdentity & WithOperatingSystem(OperatingSystem &&value)
void SetBaselineName(const Aws::String &value)
const Aws::String & GetBaselineName() const
PatchBaselineIdentity & WithBaselineId(const Aws::String &value)
PatchBaselineIdentity & WithBaselineId(Aws::String &&value)
PatchBaselineIdentity & WithBaselineName(const Aws::String &value)
AWS_SSM_API PatchBaselineIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperatingSystem(OperatingSystem &&value)
PatchBaselineIdentity & WithDefaultBaseline(bool value)
PatchBaselineIdentity & WithOperatingSystem(const OperatingSystem &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
PatchBaselineIdentity & WithBaselineDescription(const Aws::String &value)
PatchBaselineIdentity & WithBaselineName(const char *value)
PatchBaselineIdentity & WithBaselineDescription(const char *value)
PatchBaselineIdentity & WithBaselineDescription(Aws::String &&value)
void SetBaselineDescription(Aws::String &&value)
AWS_SSM_API PatchBaselineIdentity(Aws::Utils::Json::JsonView jsonValue)
const OperatingSystem & GetOperatingSystem() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue