AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnvironmentActionRequest.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 "UpdateEnvironmentAction"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDescription() const{ return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
45 inline UpdateEnvironmentActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline UpdateEnvironmentActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline UpdateEnvironmentActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
57 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
58 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
60 inline UpdateEnvironmentActionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
61 inline UpdateEnvironmentActionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
63
65
68 inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; }
69 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
70 inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; }
71 inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); }
72 inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); }
75 inline UpdateEnvironmentActionRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;}
77
79
82 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
83 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
84 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
85 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
86 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
87 inline UpdateEnvironmentActionRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
88 inline UpdateEnvironmentActionRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
89 inline UpdateEnvironmentActionRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
91
93
96 inline const Aws::String& GetName() const{ return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
101 inline UpdateEnvironmentActionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
102 inline UpdateEnvironmentActionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 inline UpdateEnvironmentActionRequest& WithName(const char* value) { SetName(value); return *this;}
105
107
110 inline const ActionParameters& GetParameters() const{ return m_parameters; }
111 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
112 inline void SetParameters(const ActionParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
113 inline void SetParameters(ActionParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
115 inline UpdateEnvironmentActionRequest& WithParameters(ActionParameters&& value) { SetParameters(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::String m_domainIdentifier;
123 bool m_domainIdentifierHasBeenSet = false;
124
125 Aws::String m_environmentIdentifier;
126 bool m_environmentIdentifierHasBeenSet = false;
127
128 Aws::String m_identifier;
129 bool m_identifierHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 ActionParameters m_parameters;
135 bool m_parametersHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace DataZone
140} // namespace Aws
UpdateEnvironmentActionRequest & WithName(const char *value)
UpdateEnvironmentActionRequest & WithEnvironmentIdentifier(const Aws::String &value)
UpdateEnvironmentActionRequest & WithDomainIdentifier(Aws::String &&value)
UpdateEnvironmentActionRequest & WithDescription(const char *value)
UpdateEnvironmentActionRequest & WithName(const Aws::String &value)
UpdateEnvironmentActionRequest & WithEnvironmentIdentifier(Aws::String &&value)
UpdateEnvironmentActionRequest & WithParameters(const ActionParameters &value)
UpdateEnvironmentActionRequest & WithParameters(ActionParameters &&value)
UpdateEnvironmentActionRequest & WithDescription(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentActionRequest & WithEnvironmentIdentifier(const char *value)
UpdateEnvironmentActionRequest & WithIdentifier(const Aws::String &value)
UpdateEnvironmentActionRequest & WithName(Aws::String &&value)
UpdateEnvironmentActionRequest & WithIdentifier(const char *value)
UpdateEnvironmentActionRequest & WithDescription(const Aws::String &value)
UpdateEnvironmentActionRequest & WithDomainIdentifier(const Aws::String &value)
UpdateEnvironmentActionRequest & WithIdentifier(Aws::String &&value)
UpdateEnvironmentActionRequest & WithDomainIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String