AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnabledBaselineRequest.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/ControlTowerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/controltower/model/EnabledBaselineParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ControlTower
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONTROLTOWER_API UpdateEnabledBaselineRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnabledBaseline"; }
33
34 AWS_CONTROLTOWER_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetBaselineVersion() const{ return m_baselineVersion; }
43 inline bool BaselineVersionHasBeenSet() const { return m_baselineVersionHasBeenSet; }
44 inline void SetBaselineVersion(const Aws::String& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = value; }
45 inline void SetBaselineVersion(Aws::String&& value) { m_baselineVersionHasBeenSet = true; m_baselineVersion = std::move(value); }
46 inline void SetBaselineVersion(const char* value) { m_baselineVersionHasBeenSet = true; m_baselineVersion.assign(value); }
48 inline UpdateEnabledBaselineRequest& WithBaselineVersion(Aws::String&& value) { SetBaselineVersion(std::move(value)); return *this;}
49 inline UpdateEnabledBaselineRequest& WithBaselineVersion(const char* value) { SetBaselineVersion(value); return *this;}
51
53
56 inline const Aws::String& GetEnabledBaselineIdentifier() const{ return m_enabledBaselineIdentifier; }
57 inline bool EnabledBaselineIdentifierHasBeenSet() const { return m_enabledBaselineIdentifierHasBeenSet; }
58 inline void SetEnabledBaselineIdentifier(const Aws::String& value) { m_enabledBaselineIdentifierHasBeenSet = true; m_enabledBaselineIdentifier = value; }
59 inline void SetEnabledBaselineIdentifier(Aws::String&& value) { m_enabledBaselineIdentifierHasBeenSet = true; m_enabledBaselineIdentifier = std::move(value); }
60 inline void SetEnabledBaselineIdentifier(const char* value) { m_enabledBaselineIdentifierHasBeenSet = true; m_enabledBaselineIdentifier.assign(value); }
65
67
70 inline const Aws::Vector<EnabledBaselineParameter>& GetParameters() const{ return m_parameters; }
71 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
72 inline void SetParameters(const Aws::Vector<EnabledBaselineParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
73 inline void SetParameters(Aws::Vector<EnabledBaselineParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
76 inline UpdateEnabledBaselineRequest& AddParameters(const EnabledBaselineParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
77 inline UpdateEnabledBaselineRequest& AddParameters(EnabledBaselineParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_baselineVersion;
82 bool m_baselineVersionHasBeenSet = false;
83
84 Aws::String m_enabledBaselineIdentifier;
85 bool m_enabledBaselineIdentifierHasBeenSet = false;
86
88 bool m_parametersHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ControlTower
93} // namespace Aws
UpdateEnabledBaselineRequest & WithEnabledBaselineIdentifier(const Aws::String &value)
UpdateEnabledBaselineRequest & AddParameters(EnabledBaselineParameter &&value)
UpdateEnabledBaselineRequest & WithEnabledBaselineIdentifier(Aws::String &&value)
void SetParameters(const Aws::Vector< EnabledBaselineParameter > &value)
UpdateEnabledBaselineRequest & WithParameters(const Aws::Vector< EnabledBaselineParameter > &value)
const Aws::Vector< EnabledBaselineParameter > & GetParameters() const
UpdateEnabledBaselineRequest & AddParameters(const EnabledBaselineParameter &value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
UpdateEnabledBaselineRequest & WithBaselineVersion(Aws::String &&value)
void SetParameters(Aws::Vector< EnabledBaselineParameter > &&value)
UpdateEnabledBaselineRequest & WithParameters(Aws::Vector< EnabledBaselineParameter > &&value)
UpdateEnabledBaselineRequest & WithBaselineVersion(const char *value)
UpdateEnabledBaselineRequest & WithEnabledBaselineIdentifier(const char *value)
UpdateEnabledBaselineRequest & WithBaselineVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector