AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetControlIdentifier(const Aws::String& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = value; }
46 inline void SetControlIdentifier(Aws::String&& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = std::move(value); }
47 inline void SetControlIdentifier(const char* value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier.assign(value); }
48 inline DisableControlRequest& WithControlIdentifier(const Aws::String& value) { SetControlIdentifier(value); return *this;}
49 inline DisableControlRequest& WithControlIdentifier(Aws::String&& value) { SetControlIdentifier(std::move(value)); return *this;}
50 inline DisableControlRequest& WithControlIdentifier(const char* value) { SetControlIdentifier(value); return *this;}
52
54
60 inline const Aws::String& GetTargetIdentifier() const{ return m_targetIdentifier; }
61 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
62 inline void SetTargetIdentifier(const Aws::String& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = value; }
63 inline void SetTargetIdentifier(Aws::String&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::move(value); }
64 inline void SetTargetIdentifier(const char* value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier.assign(value); }
65 inline DisableControlRequest& WithTargetIdentifier(const Aws::String& value) { SetTargetIdentifier(value); return *this;}
66 inline DisableControlRequest& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
67 inline DisableControlRequest& WithTargetIdentifier(const char* value) { SetTargetIdentifier(value); return *this;}
69 private:
70
71 Aws::String m_controlIdentifier;
72 bool m_controlIdentifierHasBeenSet = false;
73
74 Aws::String m_targetIdentifier;
75 bool m_targetIdentifierHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ControlTower
80} // namespace Aws
virtual const char * GetServiceRequestName() const override
DisableControlRequest & WithControlIdentifier(const Aws::String &value)
DisableControlRequest & WithTargetIdentifier(const Aws::String &value)
DisableControlRequest & WithControlIdentifier(Aws::String &&value)
DisableControlRequest & WithTargetIdentifier(const char *value)
DisableControlRequest & WithTargetIdentifier(Aws::String &&value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
DisableControlRequest & WithControlIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String