AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GetControlStatusRequest.h
1
6#pragma once
7#include <aws/assurance/AssuranceRequest.h>
8#include <aws/assurance/Assurance_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Assurance {
15namespace Model {
16
23 public:
24 AWS_ASSURANCE_API GetControlStatusRequest() = 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 "GetControlStatus"; }
31
32 AWS_ASSURANCE_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
41 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
42 template <typename EnvironmentArnT = Aws::String>
43 void SetEnvironmentArn(EnvironmentArnT&& value) {
44 m_environmentArnHasBeenSet = true;
45 m_environmentArn = std::forward<EnvironmentArnT>(value);
46 }
47 template <typename EnvironmentArnT = Aws::String>
48 GetControlStatusRequest& WithEnvironmentArn(EnvironmentArnT&& value) {
49 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProject() const { return m_project; }
59 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
60 template <typename ProjectT = Aws::String>
61 void SetProject(ProjectT&& value) {
62 m_projectHasBeenSet = true;
63 m_project = std::forward<ProjectT>(value);
64 }
65 template <typename ProjectT = Aws::String>
67 SetProject(std::forward<ProjectT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetFramework() const { return m_framework; }
77 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
78 template <typename FrameworkT = Aws::String>
79 void SetFramework(FrameworkT&& value) {
80 m_frameworkHasBeenSet = true;
81 m_framework = std::forward<FrameworkT>(value);
82 }
83 template <typename FrameworkT = Aws::String>
85 SetFramework(std::forward<FrameworkT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
95 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
96 template <typename FrameworkVersionT = Aws::String>
97 void SetFrameworkVersion(FrameworkVersionT&& value) {
98 m_frameworkVersionHasBeenSet = true;
99 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
100 }
101 template <typename FrameworkVersionT = Aws::String>
102 GetControlStatusRequest& WithFrameworkVersion(FrameworkVersionT&& value) {
103 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetControlId() const { return m_controlId; }
114 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
115 template <typename ControlIdT = Aws::String>
116 void SetControlId(ControlIdT&& value) {
117 m_controlIdHasBeenSet = true;
118 m_controlId = std::forward<ControlIdT>(value);
119 }
120 template <typename ControlIdT = Aws::String>
122 SetControlId(std::forward<ControlIdT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_environmentArn;
128
129 Aws::String m_project;
130
131 Aws::String m_framework;
132
133 Aws::String m_frameworkVersion;
134
135 Aws::String m_controlId;
136 bool m_environmentArnHasBeenSet = false;
137 bool m_projectHasBeenSet = false;
138 bool m_frameworkHasBeenSet = false;
139 bool m_frameworkVersionHasBeenSet = false;
140 bool m_controlIdHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Assurance
145} // namespace Aws
AWS_ASSURANCE_API GetControlStatusRequest()=default
GetControlStatusRequest & WithControlId(ControlIdT &&value)
GetControlStatusRequest & WithFramework(FrameworkT &&value)
AWS_ASSURANCE_API Aws::String SerializePayload() const override
GetControlStatusRequest & WithFrameworkVersion(FrameworkVersionT &&value)
GetControlStatusRequest & WithProject(ProjectT &&value)
GetControlStatusRequest & WithEnvironmentArn(EnvironmentArnT &&value)
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String