AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateJobTemplateResult.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EMRContainers
25{
26namespace Model
27{
29 {
30 public:
31 AWS_EMRCONTAINERS_API CreateJobTemplateResult();
34
35
37
40 inline const Aws::String& GetId() const{ return m_id; }
41 inline void SetId(const Aws::String& value) { m_id = value; }
42 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
43 inline void SetId(const char* value) { m_id.assign(value); }
44 inline CreateJobTemplateResult& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline CreateJobTemplateResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline CreateJobTemplateResult& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline CreateJobTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline CreateJobTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline CreateJobTemplateResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetArn() const{ return m_arn; }
67 inline void SetArn(const Aws::String& value) { m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arn.assign(value); }
70 inline CreateJobTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline CreateJobTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline CreateJobTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
80 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
81 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
82 inline CreateJobTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
83 inline CreateJobTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline CreateJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline CreateJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline CreateJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_id;
99
100 Aws::String m_name;
101
102 Aws::String m_arn;
103
104 Aws::Utils::DateTime m_createdAt;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace EMRContainers
111} // namespace Aws
AWS_EMRCONTAINERS_API CreateJobTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateJobTemplateResult & WithId(const char *value)
CreateJobTemplateResult & WithName(Aws::String &&value)
CreateJobTemplateResult & WithArn(const Aws::String &value)
CreateJobTemplateResult & WithId(Aws::String &&value)
CreateJobTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateJobTemplateResult & WithName(const Aws::String &value)
CreateJobTemplateResult & WithName(const char *value)
CreateJobTemplateResult & WithArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateJobTemplateResult & WithRequestId(Aws::String &&value)
CreateJobTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateJobTemplateResult & WithId(const Aws::String &value)
CreateJobTemplateResult & WithRequestId(const char *value)
AWS_EMRCONTAINERS_API CreateJobTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateJobTemplateResult & WithRequestId(const Aws::String &value)
CreateJobTemplateResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue