AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateSchedulingPolicyResult.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 {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Batch {
22namespace Model {
24 public:
25 AWS_BATCH_API CreateSchedulingPolicyResult() = default;
28
30
33 inline const Aws::String& GetName() const { return m_name; }
34 template <typename NameT = Aws::String>
35 void SetName(NameT&& value) {
36 m_nameHasBeenSet = true;
37 m_name = std::forward<NameT>(value);
38 }
39 template <typename NameT = Aws::String>
41 SetName(std::forward<NameT>(value));
42 return *this;
43 }
45
47
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_name;
82
83 Aws::String m_arn;
84
85 Aws::String m_requestId;
86 bool m_nameHasBeenSet = false;
87 bool m_arnHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Batch
93} // namespace Aws
CreateSchedulingPolicyResult & WithName(NameT &&value)
AWS_BATCH_API CreateSchedulingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BATCH_API CreateSchedulingPolicyResult()=default
CreateSchedulingPolicyResult & WithRequestId(RequestIdT &&value)
CreateSchedulingPolicyResult & WithArn(ArnT &&value)
AWS_BATCH_API CreateSchedulingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue