AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
43 {
44 public:
45 AWS_BATCH_API ComputeEnvironmentOrder() = default;
48 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
58 inline int GetOrder() const { return m_order; }
59 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
60 inline void SetOrder(int value) { m_orderHasBeenSet = true; m_order = value; }
61 inline ComputeEnvironmentOrder& WithOrder(int value) { SetOrder(value); return *this;}
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) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = std::forward<ComputeEnvironmentT>(value); }
72 template<typename ComputeEnvironmentT = Aws::String>
73 ComputeEnvironmentOrder& WithComputeEnvironment(ComputeEnvironmentT&& value) { SetComputeEnvironment(std::forward<ComputeEnvironmentT>(value)); return *this;}
75 private:
76
77 int m_order{0};
78 bool m_orderHasBeenSet = false;
79
80 Aws::String m_computeEnvironment;
81 bool m_computeEnvironmentHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Batch
86} // 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