AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ComputeEnvironmentOrder.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
39 public:
40 AWS_BATCH_API ComputeEnvironmentOrder() = default;
43 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
52 inline int GetOrder() const { return m_order; }
53 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
54 inline void SetOrder(int value) {
55 m_orderHasBeenSet = true;
56 m_order = value;
57 }
59 SetOrder(value);
60 return *this;
61 }
63
65
68 inline const Aws::String& GetComputeEnvironment() const { return m_computeEnvironment; }
69 inline bool ComputeEnvironmentHasBeenSet() const { return m_computeEnvironmentHasBeenSet; }
70 template <typename ComputeEnvironmentT = Aws::String>
71 void SetComputeEnvironment(ComputeEnvironmentT&& value) {
72 m_computeEnvironmentHasBeenSet = true;
73 m_computeEnvironment = std::forward<ComputeEnvironmentT>(value);
74 }
75 template <typename ComputeEnvironmentT = Aws::String>
76 ComputeEnvironmentOrder& WithComputeEnvironment(ComputeEnvironmentT&& value) {
77 SetComputeEnvironment(std::forward<ComputeEnvironmentT>(value));
78 return *this;
79 }
81 private:
82 int m_order{0};
83
84 Aws::String m_computeEnvironment;
85 bool m_orderHasBeenSet = false;
86 bool m_computeEnvironmentHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Batch
91} // namespace Aws
void SetComputeEnvironment(ComputeEnvironmentT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ComputeEnvironmentOrder & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ComputeEnvironmentOrder(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ComputeEnvironmentOrder()=default
ComputeEnvironmentOrder & WithOrder(int value)
ComputeEnvironmentOrder & WithComputeEnvironment(ComputeEnvironmentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue