AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetEnvironmentActionResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/ActionParameters.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DATAZONE_API GetEnvironmentActionResult() = default;
34
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 template<typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
43 template<typename DescriptionT = Aws::String>
44 GetEnvironmentActionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
46
48
52 inline const Aws::String& GetDomainId() const { return m_domainId; }
53 template<typename DomainIdT = Aws::String>
54 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
55 template<typename DomainIdT = Aws::String>
56 GetEnvironmentActionResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
64 template<typename EnvironmentIdT = Aws::String>
65 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
66 template<typename EnvironmentIdT = Aws::String>
67 GetEnvironmentActionResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 GetEnvironmentActionResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 template<typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
88 template<typename NameT = Aws::String>
89 GetEnvironmentActionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
91
93
96 inline const ActionParameters& GetParameters() const { return m_parameters; }
97 template<typename ParametersT = ActionParameters>
98 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
99 template<typename ParametersT = ActionParameters>
100 GetEnvironmentActionResult& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template<typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
108 template<typename RequestIdT = Aws::String>
109 GetEnvironmentActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
111 private:
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::String m_domainId;
117 bool m_domainIdHasBeenSet = false;
118
119 Aws::String m_environmentId;
120 bool m_environmentIdHasBeenSet = false;
121
122 Aws::String m_id;
123 bool m_idHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 ActionParameters m_parameters;
129 bool m_parametersHasBeenSet = false;
130
131 Aws::String m_requestId;
132 bool m_requestIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace DataZone
137} // namespace Aws
GetEnvironmentActionResult & WithParameters(ParametersT &&value)
GetEnvironmentActionResult & WithRequestId(RequestIdT &&value)
GetEnvironmentActionResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentActionResult & WithDomainId(DomainIdT &&value)
GetEnvironmentActionResult & WithId(IdT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult()=default
GetEnvironmentActionResult & WithEnvironmentId(EnvironmentIdT &&value)
GetEnvironmentActionResult & WithName(NameT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue