AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateComputeEnvironmentResult.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Batch {
22namespace Model {
24 public:
25 AWS_BATCH_API CreateComputeEnvironmentResult() = default;
28
30
35 inline const Aws::String& GetComputeEnvironmentName() const { return m_computeEnvironmentName; }
36 template <typename ComputeEnvironmentNameT = Aws::String>
37 void SetComputeEnvironmentName(ComputeEnvironmentNameT&& value) {
38 m_computeEnvironmentNameHasBeenSet = true;
39 m_computeEnvironmentName = std::forward<ComputeEnvironmentNameT>(value);
40 }
41 template <typename ComputeEnvironmentNameT = Aws::String>
43 SetComputeEnvironmentName(std::forward<ComputeEnvironmentNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetComputeEnvironmentArn() const { return m_computeEnvironmentArn; }
53 template <typename ComputeEnvironmentArnT = Aws::String>
54 void SetComputeEnvironmentArn(ComputeEnvironmentArnT&& value) {
55 m_computeEnvironmentArnHasBeenSet = true;
56 m_computeEnvironmentArn = std::forward<ComputeEnvironmentArnT>(value);
57 }
58 template <typename ComputeEnvironmentArnT = Aws::String>
60 SetComputeEnvironmentArn(std::forward<ComputeEnvironmentArnT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_computeEnvironmentName;
81
82 Aws::String m_computeEnvironmentArn;
83
84 Aws::String m_requestId;
85 bool m_computeEnvironmentNameHasBeenSet = false;
86 bool m_computeEnvironmentArnHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Batch
92} // namespace Aws
CreateComputeEnvironmentResult & WithComputeEnvironmentArn(ComputeEnvironmentArnT &&value)
AWS_BATCH_API CreateComputeEnvironmentResult()=default
AWS_BATCH_API CreateComputeEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComputeEnvironmentResult & WithComputeEnvironmentName(ComputeEnvironmentNameT &&value)
CreateComputeEnvironmentResult & WithRequestId(RequestIdT &&value)
void SetComputeEnvironmentName(ComputeEnvironmentNameT &&value)
AWS_BATCH_API CreateComputeEnvironmentResult & operator=(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