AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
ServiceEnvironmentOrder.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
34 {
35 public:
36 AWS_BATCH_API ServiceEnvironmentOrder() = default;
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetOrder() const { return m_order; }
48 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
49 inline void SetOrder(int value) { m_orderHasBeenSet = true; m_order = value; }
50 inline ServiceEnvironmentOrder& WithOrder(int value) { SetOrder(value); return *this;}
52
54
57 inline const Aws::String& GetServiceEnvironment() const { return m_serviceEnvironment; }
58 inline bool ServiceEnvironmentHasBeenSet() const { return m_serviceEnvironmentHasBeenSet; }
59 template<typename ServiceEnvironmentT = Aws::String>
60 void SetServiceEnvironment(ServiceEnvironmentT&& value) { m_serviceEnvironmentHasBeenSet = true; m_serviceEnvironment = std::forward<ServiceEnvironmentT>(value); }
61 template<typename ServiceEnvironmentT = Aws::String>
62 ServiceEnvironmentOrder& WithServiceEnvironment(ServiceEnvironmentT&& value) { SetServiceEnvironment(std::forward<ServiceEnvironmentT>(value)); return *this;}
64 private:
65
66 int m_order{0};
67 bool m_orderHasBeenSet = false;
68
69 Aws::String m_serviceEnvironment;
70 bool m_serviceEnvironmentHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Batch
75} // namespace Aws
void SetServiceEnvironment(ServiceEnvironmentT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceEnvironmentOrder & WithOrder(int value)
AWS_BATCH_API ServiceEnvironmentOrder & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceEnvironmentOrder & WithServiceEnvironment(ServiceEnvironmentT &&value)
AWS_BATCH_API ServiceEnvironmentOrder()=default
AWS_BATCH_API ServiceEnvironmentOrder(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue