AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateEnvironmentActionRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/ActionParameters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API CreateEnvironmentActionRequest() = default;
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 "CreateEnvironmentAction"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 CreateEnvironmentActionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 template<typename DomainIdentifierT = Aws::String>
57 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
58 template<typename DomainIdentifierT = Aws::String>
59 CreateEnvironmentActionRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
61
63
66 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
67 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
68 template<typename EnvironmentIdentifierT = Aws::String>
69 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
70 template<typename EnvironmentIdentifierT = Aws::String>
71 CreateEnvironmentActionRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template<typename NameT = Aws::String>
81 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
82 template<typename NameT = Aws::String>
83 CreateEnvironmentActionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
85
87
90 inline const ActionParameters& GetParameters() const { return m_parameters; }
91 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
92 template<typename ParametersT = ActionParameters>
93 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
94 template<typename ParametersT = ActionParameters>
95 CreateEnvironmentActionRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
97 private:
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 Aws::String m_domainIdentifier;
103 bool m_domainIdentifierHasBeenSet = false;
104
105 Aws::String m_environmentIdentifier;
106 bool m_environmentIdentifierHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 ActionParameters m_parameters;
112 bool m_parametersHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace DataZone
117} // 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