AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFarmResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_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 deadline
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DEADLINE_API GetFarmResult();
34
35
37
40 inline const Aws::String& GetFarmId() const{ return m_farmId; }
41 inline void SetFarmId(const Aws::String& value) { m_farmId = value; }
42 inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); }
43 inline void SetFarmId(const char* value) { m_farmId.assign(value); }
44 inline GetFarmResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
45 inline GetFarmResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
46 inline GetFarmResult& WithFarmId(const char* value) { SetFarmId(value); return *this;}
48
50
55 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
56 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
57 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
58 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
59 inline GetFarmResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
60 inline GetFarmResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
61 inline GetFarmResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
63
65
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
74 inline GetFarmResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline GetFarmResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline GetFarmResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
84 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
85 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
86 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
87 inline GetFarmResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
88 inline GetFarmResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
89 inline GetFarmResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
97 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
98 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
99 inline GetFarmResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
100 inline GetFarmResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
108 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
109 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
110 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
111 inline GetFarmResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
112 inline GetFarmResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
113 inline GetFarmResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
121 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
122 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
123 inline GetFarmResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
124 inline GetFarmResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
132 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
133 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
134 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
135 inline GetFarmResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
136 inline GetFarmResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
137 inline GetFarmResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline GetFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline GetFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline GetFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_farmId;
153
154 Aws::String m_displayName;
155
156 Aws::String m_description;
157
158 Aws::String m_kmsKeyArn;
159
160 Aws::Utils::DateTime m_createdAt;
161
162 Aws::String m_createdBy;
163
164 Aws::Utils::DateTime m_updatedAt;
165
166 Aws::String m_updatedBy;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace deadline
173} // namespace Aws
GetFarmResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetFarmResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetFarmResult & WithKmsKeyArn(const Aws::String &value)
GetFarmResult & WithDisplayName(const Aws::String &value)
GetFarmResult & WithCreatedBy(const char *value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetDescription() const
GetFarmResult & WithCreatedBy(Aws::String &&value)
GetFarmResult & WithDescription(const char *value)
const Aws::String & GetKmsKeyArn() const
GetFarmResult & WithKmsKeyArn(Aws::String &&value)
void SetDisplayName(Aws::String &&value)
void SetKmsKeyArn(const char *value)
GetFarmResult & WithUpdatedBy(const Aws::String &value)
void SetFarmId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetFarmId(const Aws::String &value)
void SetDescription(Aws::String &&value)
GetFarmResult & WithUpdatedBy(const char *value)
void SetRequestId(const Aws::String &value)
AWS_DEADLINE_API GetFarmResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetUpdatedBy() const
void SetKmsKeyArn(const Aws::String &value)
void SetUpdatedBy(Aws::String &&value)
GetFarmResult & WithDisplayName(Aws::String &&value)
void SetFarmId(Aws::String &&value)
const Aws::String & GetDisplayName() const
GetFarmResult & WithKmsKeyArn(const char *value)
void SetUpdatedBy(const Aws::String &value)
GetFarmResult & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetRequestId(Aws::String &&value)
GetFarmResult & WithFarmId(Aws::String &&value)
GetFarmResult & WithUpdatedBy(Aws::String &&value)
GetFarmResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetFarmResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetFarmResult & WithRequestId(const char *value)
void SetCreatedBy(Aws::String &&value)
GetFarmResult & WithFarmId(const char *value)
GetFarmResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetFarmId() const
GetFarmResult & WithFarmId(const Aws::String &value)
void SetDisplayName(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetRequestId() const
GetFarmResult & WithCreatedBy(const Aws::String &value)
GetFarmResult & WithRequestId(const Aws::String &value)
void SetDisplayName(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFarmResult & WithDisplayName(const char *value)
void SetUpdatedBy(const char *value)
AWS_DEADLINE_API GetFarmResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedBy(const char *value)
void SetKmsKeyArn(Aws::String &&value)
void SetRequestId(const char *value)
void SetDescription(const char *value)
GetFarmResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue