AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FarmSummary.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API FarmSummary();
36 AWS_DEADLINE_API FarmSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEADLINE_API FarmSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFarmId() const{ return m_farmId; }
46 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
47 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
48 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
49 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
50 inline FarmSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
51 inline FarmSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
52 inline FarmSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;}
54
56
61 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
62 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
63 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
64 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
65 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
66 inline FarmSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
67 inline FarmSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
68 inline FarmSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
70
72
75 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
76 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
77 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
78 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
79 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
80 inline FarmSummary& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
81 inline FarmSummary& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
82 inline FarmSummary& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
90 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
91 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
92 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
93 inline FarmSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
94 inline FarmSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
102 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
103 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
104 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
105 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
106 inline FarmSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
107 inline FarmSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
108 inline FarmSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
118 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
119 inline FarmSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
120 inline FarmSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
128 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
129 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
130 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
131 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
132 inline FarmSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
133 inline FarmSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
134 inline FarmSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
136 private:
137
138 Aws::String m_farmId;
139 bool m_farmIdHasBeenSet = false;
140
141 Aws::String m_displayName;
142 bool m_displayNameHasBeenSet = false;
143
144 Aws::String m_kmsKeyArn;
145 bool m_kmsKeyArnHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdAt;
148 bool m_createdAtHasBeenSet = false;
149
150 Aws::String m_createdBy;
151 bool m_createdByHasBeenSet = false;
152
153 Aws::Utils::DateTime m_updatedAt;
154 bool m_updatedAtHasBeenSet = false;
155
156 Aws::String m_updatedBy;
157 bool m_updatedByHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace deadline
162} // namespace Aws
AWS_DEADLINE_API FarmSummary(Aws::Utils::Json::JsonView jsonValue)
FarmSummary & WithUpdatedBy(const char *value)
FarmSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
FarmSummary & WithKmsKeyArn(Aws::String &&value)
Definition FarmSummary.h:81
FarmSummary & WithDisplayName(const char *value)
Definition FarmSummary.h:68
const Aws::String & GetUpdatedBy() const
void SetUpdatedBy(const char *value)
FarmSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition FarmSummary.h:94
void SetDisplayName(Aws::String &&value)
Definition FarmSummary.h:64
void SetUpdatedAt(const Aws::Utils::DateTime &value)
FarmSummary & WithCreatedBy(Aws::String &&value)
FarmSummary & WithCreatedBy(const Aws::String &value)
void SetFarmId(const char *value)
Definition FarmSummary.h:49
const Aws::String & GetDisplayName() const
Definition FarmSummary.h:61
FarmSummary & WithDisplayName(Aws::String &&value)
Definition FarmSummary.h:67
void SetKmsKeyArn(const Aws::String &value)
Definition FarmSummary.h:77
void SetUpdatedBy(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
Definition FarmSummary.h:63
FarmSummary & WithUpdatedBy(Aws::String &&value)
FarmSummary & WithCreatedBy(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition FarmSummary.h:92
void SetCreatedBy(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition FarmSummary.h:89
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetCreatedBy() const
AWS_DEADLINE_API FarmSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FarmSummary & WithFarmId(const Aws::String &value)
Definition FarmSummary.h:50
void SetCreatedBy(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
FarmSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
FarmSummary & WithDisplayName(const Aws::String &value)
Definition FarmSummary.h:66
void SetCreatedBy(const Aws::String &value)
FarmSummary & WithKmsKeyArn(const Aws::String &value)
Definition FarmSummary.h:80
void SetDisplayName(const char *value)
Definition FarmSummary.h:65
FarmSummary & WithFarmId(const char *value)
Definition FarmSummary.h:52
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFarmId() const
Definition FarmSummary.h:45
const Aws::String & GetKmsKeyArn() const
Definition FarmSummary.h:75
FarmSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition FarmSummary.h:93
void SetFarmId(Aws::String &&value)
Definition FarmSummary.h:48
FarmSummary & WithKmsKeyArn(const char *value)
Definition FarmSummary.h:82
FarmSummary & WithFarmId(Aws::String &&value)
Definition FarmSummary.h:51
void SetKmsKeyArn(Aws::String &&value)
Definition FarmSummary.h:78
void SetKmsKeyArn(const char *value)
Definition FarmSummary.h:79
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition FarmSummary.h:91
void SetFarmId(const Aws::String &value)
Definition FarmSummary.h:47
FarmSummary & WithUpdatedBy(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue