AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputeEnvironment(const Aws::String& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = value; }
71 inline void SetComputeEnvironment(Aws::String&& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = std::move(value); }
72 inline void SetComputeEnvironment(const char* value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment.assign(value); }
74 inline ComputeEnvironmentOrder& WithComputeEnvironment(Aws::String&& value) { SetComputeEnvironment(std::move(value)); return *this;}
75 inline ComputeEnvironmentOrder& WithComputeEnvironment(const char* value) { SetComputeEnvironment(value); return *this;}
77 private:
78
79 int m_order;
80 bool m_orderHasBeenSet = false;
81
82 Aws::String m_computeEnvironment;
83 bool m_computeEnvironmentHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Batch
88} // namespace Aws
ComputeEnvironmentOrder & WithComputeEnvironment(const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ComputeEnvironmentOrder & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComputeEnvironment(const Aws::String &value)
AWS_BATCH_API ComputeEnvironmentOrder(Aws::Utils::Json::JsonView jsonValue)
ComputeEnvironmentOrder & WithOrder(int value)
ComputeEnvironmentOrder & WithComputeEnvironment(const Aws::String &value)
ComputeEnvironmentOrder & WithComputeEnvironment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue