AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStandardsControlRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/ControlStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYHUB_API UpdateStandardsControlRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateStandardsControl"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetStandardsControlArn() const{ return m_standardsControlArn; }
41 inline bool StandardsControlArnHasBeenSet() const { return m_standardsControlArnHasBeenSet; }
42 inline void SetStandardsControlArn(const Aws::String& value) { m_standardsControlArnHasBeenSet = true; m_standardsControlArn = value; }
43 inline void SetStandardsControlArn(Aws::String&& value) { m_standardsControlArnHasBeenSet = true; m_standardsControlArn = std::move(value); }
44 inline void SetStandardsControlArn(const char* value) { m_standardsControlArnHasBeenSet = true; m_standardsControlArn.assign(value); }
47 inline UpdateStandardsControlRequest& WithStandardsControlArn(const char* value) { SetStandardsControlArn(value); return *this;}
49
51
54 inline const ControlStatus& GetControlStatus() const{ return m_controlStatus; }
55 inline bool ControlStatusHasBeenSet() const { return m_controlStatusHasBeenSet; }
56 inline void SetControlStatus(const ControlStatus& value) { m_controlStatusHasBeenSet = true; m_controlStatus = value; }
57 inline void SetControlStatus(ControlStatus&& value) { m_controlStatusHasBeenSet = true; m_controlStatus = std::move(value); }
59 inline UpdateStandardsControlRequest& WithControlStatus(ControlStatus&& value) { SetControlStatus(std::move(value)); return *this;}
61
63
67 inline const Aws::String& GetDisabledReason() const{ return m_disabledReason; }
68 inline bool DisabledReasonHasBeenSet() const { return m_disabledReasonHasBeenSet; }
69 inline void SetDisabledReason(const Aws::String& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = value; }
70 inline void SetDisabledReason(Aws::String&& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = std::move(value); }
71 inline void SetDisabledReason(const char* value) { m_disabledReasonHasBeenSet = true; m_disabledReason.assign(value); }
73 inline UpdateStandardsControlRequest& WithDisabledReason(Aws::String&& value) { SetDisabledReason(std::move(value)); return *this;}
74 inline UpdateStandardsControlRequest& WithDisabledReason(const char* value) { SetDisabledReason(value); return *this;}
76 private:
77
78 Aws::String m_standardsControlArn;
79 bool m_standardsControlArnHasBeenSet = false;
80
81 ControlStatus m_controlStatus;
82 bool m_controlStatusHasBeenSet = false;
83
84 Aws::String m_disabledReason;
85 bool m_disabledReasonHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
UpdateStandardsControlRequest & WithStandardsControlArn(Aws::String &&value)
UpdateStandardsControlRequest & WithDisabledReason(const Aws::String &value)
UpdateStandardsControlRequest & WithStandardsControlArn(const char *value)
UpdateStandardsControlRequest & WithDisabledReason(const char *value)
UpdateStandardsControlRequest & WithDisabledReason(Aws::String &&value)
UpdateStandardsControlRequest & WithControlStatus(const ControlStatus &value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateStandardsControlRequest & WithStandardsControlArn(const Aws::String &value)
UpdateStandardsControlRequest & WithControlStatus(ControlStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String