AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
CreateControlGroupRequest.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
20 public:
21 AWS_ASSURANCE_API CreateControlGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateControlGroup"; }
28
29 AWS_ASSURANCE_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
38 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
39 template <typename EnvironmentArnT = Aws::String>
40 void SetEnvironmentArn(EnvironmentArnT&& value) {
41 m_environmentArnHasBeenSet = true;
42 m_environmentArn = std::forward<EnvironmentArnT>(value);
43 }
44 template <typename EnvironmentArnT = Aws::String>
46 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetFramework() const { return m_framework; }
56 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
57 template <typename FrameworkT = Aws::String>
58 void SetFramework(FrameworkT&& value) {
59 m_frameworkHasBeenSet = true;
60 m_framework = std::forward<FrameworkT>(value);
61 }
62 template <typename FrameworkT = Aws::String>
64 SetFramework(std::forward<FrameworkT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
74 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
75 template <typename FrameworkVersionT = Aws::String>
76 void SetFrameworkVersion(FrameworkVersionT&& value) {
77 m_frameworkVersionHasBeenSet = true;
78 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
79 }
80 template <typename FrameworkVersionT = Aws::String>
81 CreateControlGroupRequest& WithFrameworkVersion(FrameworkVersionT&& value) {
82 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetControlId() const { return m_controlId; }
92 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
93 template <typename ControlIdT = Aws::String>
94 void SetControlId(ControlIdT&& value) {
95 m_controlIdHasBeenSet = true;
96 m_controlId = std::forward<ControlIdT>(value);
97 }
98 template <typename ControlIdT = Aws::String>
100 SetControlId(std::forward<ControlIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetTitle() const { return m_title; }
110 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
111 template <typename TitleT = Aws::String>
112 void SetTitle(TitleT&& value) {
113 m_titleHasBeenSet = true;
114 m_title = std::forward<TitleT>(value);
115 }
116 template <typename TitleT = Aws::String>
118 SetTitle(std::forward<TitleT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetDescription() const { return m_description; }
128 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 template <typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) {
131 m_descriptionHasBeenSet = true;
132 m_description = std::forward<DescriptionT>(value);
133 }
134 template <typename DescriptionT = Aws::String>
136 SetDescription(std::forward<DescriptionT>(value));
137 return *this;
138 }
140
142
146 inline int GetDisplayOrder() const { return m_displayOrder; }
147 inline bool DisplayOrderHasBeenSet() const { return m_displayOrderHasBeenSet; }
148 inline void SetDisplayOrder(int value) {
149 m_displayOrderHasBeenSet = true;
150 m_displayOrder = value;
151 }
153 SetDisplayOrder(value);
154 return *this;
155 }
157 private:
158 Aws::String m_environmentArn;
159
160 Aws::String m_framework;
161
162 Aws::String m_frameworkVersion;
163
164 Aws::String m_controlId;
165
166 Aws::String m_title;
167
168 Aws::String m_description;
169
170 int m_displayOrder{0};
171 bool m_environmentArnHasBeenSet = false;
172 bool m_frameworkHasBeenSet = false;
173 bool m_frameworkVersionHasBeenSet = false;
174 bool m_controlIdHasBeenSet = false;
175 bool m_titleHasBeenSet = false;
176 bool m_descriptionHasBeenSet = false;
177 bool m_displayOrderHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace Assurance
182} // namespace Aws
CreateControlGroupRequest & WithDisplayOrder(int value)
CreateControlGroupRequest & WithControlId(ControlIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateControlGroupRequest & WithDescription(DescriptionT &&value)
AWS_ASSURANCE_API Aws::String SerializePayload() const override
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateControlGroupRequest & WithFrameworkVersion(FrameworkVersionT &&value)
CreateControlGroupRequest & WithEnvironmentArn(EnvironmentArnT &&value)
CreateControlGroupRequest & WithTitle(TitleT &&value)
CreateControlGroupRequest & WithFramework(FrameworkT &&value)
AWS_ASSURANCE_API CreateControlGroupRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String