AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Batch
24{
25namespace Model
26{
28 {
29 public:
33
34
36
41 inline const Aws::String& GetComputeEnvironmentName() const{ return m_computeEnvironmentName; }
42 inline void SetComputeEnvironmentName(const Aws::String& value) { m_computeEnvironmentName = value; }
43 inline void SetComputeEnvironmentName(Aws::String&& value) { m_computeEnvironmentName = std::move(value); }
44 inline void SetComputeEnvironmentName(const char* value) { m_computeEnvironmentName.assign(value); }
49
51
54 inline const Aws::String& GetComputeEnvironmentArn() const{ return m_computeEnvironmentArn; }
55 inline void SetComputeEnvironmentArn(const Aws::String& value) { m_computeEnvironmentArn = value; }
56 inline void SetComputeEnvironmentArn(Aws::String&& value) { m_computeEnvironmentArn = std::move(value); }
57 inline void SetComputeEnvironmentArn(const char* value) { m_computeEnvironmentArn.assign(value); }
60 inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(const char* value) { SetComputeEnvironmentArn(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline CreateComputeEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline CreateComputeEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline CreateComputeEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_computeEnvironmentName;
76
77 Aws::String m_computeEnvironmentArn;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace Batch
84} // namespace Aws
AWS_BATCH_API CreateComputeEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComputeEnvironmentResult & WithComputeEnvironmentName(const Aws::String &value)
CreateComputeEnvironmentResult & WithRequestId(const char *value)
CreateComputeEnvironmentResult & WithComputeEnvironmentArn(const Aws::String &value)
CreateComputeEnvironmentResult & WithComputeEnvironmentArn(const char *value)
CreateComputeEnvironmentResult & WithComputeEnvironmentName(Aws::String &&value)
CreateComputeEnvironmentResult & WithComputeEnvironmentName(const char *value)
CreateComputeEnvironmentResult & WithRequestId(const Aws::String &value)
CreateComputeEnvironmentResult & WithRequestId(Aws::String &&value)
AWS_BATCH_API CreateComputeEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateComputeEnvironmentResult & WithComputeEnvironmentArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue