AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline CreateEnvironmentActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline CreateEnvironmentActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline CreateEnvironmentActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
56 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
57 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
58 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
59 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
60 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
62 inline CreateEnvironmentActionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
63 inline CreateEnvironmentActionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
65
67
70 inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; }
71 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
72 inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; }
73 inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); }
74 inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); }
77 inline CreateEnvironmentActionRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;}
79
81
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline CreateEnvironmentActionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline CreateEnvironmentActionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline CreateEnvironmentActionRequest& WithName(const char* value) { SetName(value); return *this;}
93
95
98 inline const ActionParameters& GetParameters() const{ return m_parameters; }
99 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
100 inline void SetParameters(const ActionParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
101 inline void SetParameters(ActionParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
103 inline CreateEnvironmentActionRequest& WithParameters(ActionParameters&& value) { SetParameters(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 Aws::String m_domainIdentifier;
111 bool m_domainIdentifierHasBeenSet = false;
112
113 Aws::String m_environmentIdentifier;
114 bool m_environmentIdentifierHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 ActionParameters m_parameters;
120 bool m_parametersHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace DataZone
125} // namespace Aws
CreateEnvironmentActionRequest & WithEnvironmentIdentifier(const Aws::String &value)
CreateEnvironmentActionRequest & WithDomainIdentifier(const Aws::String &value)
CreateEnvironmentActionRequest & WithEnvironmentIdentifier(Aws::String &&value)
CreateEnvironmentActionRequest & WithParameters(ActionParameters &&value)
CreateEnvironmentActionRequest & WithDescription(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateEnvironmentActionRequest & WithName(const char *value)
CreateEnvironmentActionRequest & WithName(Aws::String &&value)
CreateEnvironmentActionRequest & WithDescription(const Aws::String &value)
CreateEnvironmentActionRequest & WithName(const Aws::String &value)
CreateEnvironmentActionRequest & WithDescription(Aws::String &&value)
CreateEnvironmentActionRequest & WithDomainIdentifier(const char *value)
CreateEnvironmentActionRequest & WithDomainIdentifier(Aws::String &&value)
CreateEnvironmentActionRequest & WithEnvironmentIdentifier(const char *value)
CreateEnvironmentActionRequest & WithParameters(const ActionParameters &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String