AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Batch
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetName() const{ return m_name; }
40 inline void SetName(const Aws::String& value) { m_name = value; }
41 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
42 inline void SetName(const char* value) { m_name.assign(value); }
43 inline CreateSchedulingPolicyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
44 inline CreateSchedulingPolicyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
45 inline CreateSchedulingPolicyResult& WithName(const char* value) { SetName(value); return *this;}
47
49
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline CreateSchedulingPolicyResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline CreateSchedulingPolicyResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline CreateSchedulingPolicyResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline CreateSchedulingPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateSchedulingPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateSchedulingPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::String m_name;
77
78 Aws::String m_arn;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Batch
85} // namespace Aws
CreateSchedulingPolicyResult & WithName(const Aws::String &value)
CreateSchedulingPolicyResult & WithRequestId(Aws::String &&value)
AWS_BATCH_API CreateSchedulingPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchedulingPolicyResult & WithArn(Aws::String &&value)
CreateSchedulingPolicyResult & WithRequestId(const Aws::String &value)
CreateSchedulingPolicyResult & WithRequestId(const char *value)
CreateSchedulingPolicyResult & WithArn(const char *value)
CreateSchedulingPolicyResult & WithName(Aws::String &&value)
AWS_BATCH_API CreateSchedulingPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchedulingPolicyResult & WithName(const char *value)
CreateSchedulingPolicyResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue