AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnabledControlRequest.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/EnabledControlParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ControlTower
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONTROLTOWER_API UpdateEnabledControlRequest();
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 "UpdateEnabledControl"; }
33
34 AWS_CONTROLTOWER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetEnabledControlIdentifier() const{ return m_enabledControlIdentifier; }
42 inline bool EnabledControlIdentifierHasBeenSet() const { return m_enabledControlIdentifierHasBeenSet; }
43 inline void SetEnabledControlIdentifier(const Aws::String& value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier = value; }
44 inline void SetEnabledControlIdentifier(Aws::String&& value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier = std::move(value); }
45 inline void SetEnabledControlIdentifier(const char* value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier.assign(value); }
50
52
56 inline const Aws::Vector<EnabledControlParameter>& GetParameters() const{ return m_parameters; }
57 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
58 inline void SetParameters(const Aws::Vector<EnabledControlParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
59 inline void SetParameters(Aws::Vector<EnabledControlParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
62 inline UpdateEnabledControlRequest& AddParameters(const EnabledControlParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
63 inline UpdateEnabledControlRequest& AddParameters(EnabledControlParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
65 private:
66
67 Aws::String m_enabledControlIdentifier;
68 bool m_enabledControlIdentifierHasBeenSet = false;
69
71 bool m_parametersHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ControlTower
76} // namespace Aws
UpdateEnabledControlRequest & AddParameters(EnabledControlParameter &&value)
UpdateEnabledControlRequest & WithParameters(Aws::Vector< EnabledControlParameter > &&value)
UpdateEnabledControlRequest & WithEnabledControlIdentifier(const Aws::String &value)
const Aws::Vector< EnabledControlParameter > & GetParameters() const
UpdateEnabledControlRequest & WithEnabledControlIdentifier(Aws::String &&value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
UpdateEnabledControlRequest & AddParameters(const EnabledControlParameter &value)
void SetParameters(Aws::Vector< EnabledControlParameter > &&value)
void SetParameters(const Aws::Vector< EnabledControlParameter > &value)
UpdateEnabledControlRequest & WithEnabledControlIdentifier(const char *value)
UpdateEnabledControlRequest & WithParameters(const Aws::Vector< EnabledControlParameter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector