AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
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
30 public:
31 AWS_BATCH_API ServiceEnvironmentOrder() = default;
34 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetOrder() const { return m_order; }
42 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
43 inline void SetOrder(int value) {
44 m_orderHasBeenSet = true;
45 m_order = value;
46 }
48 SetOrder(value);
49 return *this;
50 }
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) {
61 m_serviceEnvironmentHasBeenSet = true;
62 m_serviceEnvironment = std::forward<ServiceEnvironmentT>(value);
63 }
64 template <typename ServiceEnvironmentT = Aws::String>
65 ServiceEnvironmentOrder& WithServiceEnvironment(ServiceEnvironmentT&& value) {
66 SetServiceEnvironment(std::forward<ServiceEnvironmentT>(value));
67 return *this;
68 }
70 private:
71 int m_order{0};
72
73 Aws::String m_serviceEnvironment;
74 bool m_orderHasBeenSet = false;
75 bool m_serviceEnvironmentHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Batch
80} // 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