AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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