AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_DATAZONE_API UpdateEnvironmentActionRequest() = 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 "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 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 UpdateEnvironmentActionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
53 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
54 template<typename DomainIdentifierT = Aws::String>
55 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
56 template<typename DomainIdentifierT = Aws::String>
57 UpdateEnvironmentActionRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
59
61
64 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
65 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
66 template<typename EnvironmentIdentifierT = Aws::String>
67 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
68 template<typename EnvironmentIdentifierT = Aws::String>
69 UpdateEnvironmentActionRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
71
73
76 inline const Aws::String& GetIdentifier() const { return m_identifier; }
77 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
78 template<typename IdentifierT = Aws::String>
79 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
80 template<typename IdentifierT = Aws::String>
81 UpdateEnvironmentActionRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 UpdateEnvironmentActionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
100 inline const ActionParameters& GetParameters() const { return m_parameters; }
101 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
102 template<typename ParametersT = ActionParameters>
103 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
104 template<typename ParametersT = ActionParameters>
105 UpdateEnvironmentActionRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
107 private:
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 Aws::String m_domainIdentifier;
113 bool m_domainIdentifierHasBeenSet = false;
114
115 Aws::String m_environmentIdentifier;
116 bool m_environmentIdentifierHasBeenSet = false;
117
118 Aws::String m_identifier;
119 bool m_identifierHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 ActionParameters m_parameters;
125 bool m_parametersHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace DataZone
130} // namespace Aws
UpdateEnvironmentActionRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
AWS_DATAZONE_API UpdateEnvironmentActionRequest()=default
UpdateEnvironmentActionRequest & WithDescription(DescriptionT &&value)
UpdateEnvironmentActionRequest & WithName(NameT &&value)
UpdateEnvironmentActionRequest & WithParameters(ParametersT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentActionRequest & WithIdentifier(IdentifierT &&value)
UpdateEnvironmentActionRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String