AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateEnvironmentActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ActionParameters.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API CreateEnvironmentActionRequest() = 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 "CreateEnvironmentAction"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
56 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
57 template <typename EnvironmentIdentifierT = Aws::String>
58 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
59 m_environmentIdentifierHasBeenSet = true;
60 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
61 }
62 template <typename EnvironmentIdentifierT = Aws::String>
64 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const ActionParameters& GetParameters() const { return m_parameters; }
92 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
93 template <typename ParametersT = ActionParameters>
94 void SetParameters(ParametersT&& value) {
95 m_parametersHasBeenSet = true;
96 m_parameters = std::forward<ParametersT>(value);
97 }
98 template <typename ParametersT = ActionParameters>
100 SetParameters(std::forward<ParametersT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetDescription() const { return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 template <typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) {
114 m_descriptionHasBeenSet = true;
115 m_description = std::forward<DescriptionT>(value);
116 }
117 template <typename DescriptionT = Aws::String>
119 SetDescription(std::forward<DescriptionT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_domainIdentifier;
125
126 Aws::String m_environmentIdentifier;
127
128 Aws::String m_name;
129
130 ActionParameters m_parameters;
131
132 Aws::String m_description;
133 bool m_domainIdentifierHasBeenSet = false;
134 bool m_environmentIdentifierHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_parametersHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace DataZone
142} // namespace Aws
CreateEnvironmentActionRequest & WithParameters(ParametersT &&value)
CreateEnvironmentActionRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
AWS_DATAZONE_API CreateEnvironmentActionRequest()=default
CreateEnvironmentActionRequest & WithName(NameT &&value)
CreateEnvironmentActionRequest & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateEnvironmentActionRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String