AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DisableControlRequest.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 <utility>
11
12namespace Aws
13{
14namespace ControlTower
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CONTROLTOWER_API DisableControlRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisableControl"; }
31
32 AWS_CONTROLTOWER_API Aws::String SerializePayload() const override;
33
34
36
43 inline const Aws::String& GetControlIdentifier() const { return m_controlIdentifier; }
44 inline bool ControlIdentifierHasBeenSet() const { return m_controlIdentifierHasBeenSet; }
45 template<typename ControlIdentifierT = Aws::String>
46 void SetControlIdentifier(ControlIdentifierT&& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = std::forward<ControlIdentifierT>(value); }
47 template<typename ControlIdentifierT = Aws::String>
48 DisableControlRequest& WithControlIdentifier(ControlIdentifierT&& value) { SetControlIdentifier(std::forward<ControlIdentifierT>(value)); return *this;}
50
52
58 inline const Aws::String& GetTargetIdentifier() const { return m_targetIdentifier; }
59 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
60 template<typename TargetIdentifierT = Aws::String>
61 void SetTargetIdentifier(TargetIdentifierT&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::forward<TargetIdentifierT>(value); }
62 template<typename TargetIdentifierT = Aws::String>
63 DisableControlRequest& WithTargetIdentifier(TargetIdentifierT&& value) { SetTargetIdentifier(std::forward<TargetIdentifierT>(value)); return *this;}
65 private:
66
67 Aws::String m_controlIdentifier;
68 bool m_controlIdentifierHasBeenSet = false;
69
70 Aws::String m_targetIdentifier;
71 bool m_targetIdentifierHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ControlTower
76} // namespace Aws
void SetControlIdentifier(ControlIdentifierT &&value)
DisableControlRequest & WithTargetIdentifier(TargetIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
DisableControlRequest & WithControlIdentifier(ControlIdentifierT &&value)
AWS_CONTROLTOWER_API DisableControlRequest()=default
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String