AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
AdvancedPromptOptimizationJobSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AdvancedPromptOptimizationJobStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
23
31 public:
32 AWS_BEDROCK_API AdvancedPromptOptimizationJobSummary() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetJobArn() const { return m_jobArn; }
42 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
43 template <typename JobArnT = Aws::String>
44 void SetJobArn(JobArnT&& value) {
45 m_jobArnHasBeenSet = true;
46 m_jobArn = std::forward<JobArnT>(value);
47 }
48 template <typename JobArnT = Aws::String>
50 SetJobArn(std::forward<JobArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetJobName() const { return m_jobName; }
60 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
61 template <typename JobNameT = Aws::String>
62 void SetJobName(JobNameT&& value) {
63 m_jobNameHasBeenSet = true;
64 m_jobName = std::forward<JobNameT>(value);
65 }
66 template <typename JobNameT = Aws::String>
68 SetJobName(std::forward<JobNameT>(value));
69 return *this;
70 }
72
74
77 inline AdvancedPromptOptimizationJobStatus GetJobStatus() const { return m_jobStatus; }
78 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
80 m_jobStatusHasBeenSet = true;
81 m_jobStatus = value;
82 }
84 SetJobStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
97 m_creationTimeHasBeenSet = true;
98 m_creationTime = std::forward<CreationTimeT>(value);
99 }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
102 SetCreationTime(std::forward<CreationTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
112 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
113 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
115 m_lastModifiedTimeHasBeenSet = true;
116 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
117 }
118 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
120 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_jobArn;
126
127 Aws::String m_jobName;
128
130
131 Aws::Utils::DateTime m_creationTime{};
132
133 Aws::Utils::DateTime m_lastModifiedTime{};
134 bool m_jobArnHasBeenSet = false;
135 bool m_jobNameHasBeenSet = false;
136 bool m_jobStatusHasBeenSet = false;
137 bool m_creationTimeHasBeenSet = false;
138 bool m_lastModifiedTimeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Bedrock
143} // namespace Aws
AdvancedPromptOptimizationJobSummary & WithJobStatus(AdvancedPromptOptimizationJobStatus value)
AdvancedPromptOptimizationJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AdvancedPromptOptimizationJobSummary & WithJobName(JobNameT &&value)
AWS_BEDROCK_API AdvancedPromptOptimizationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedPromptOptimizationJobSummary & WithJobArn(JobArnT &&value)
AWS_BEDROCK_API AdvancedPromptOptimizationJobSummary(Aws::Utils::Json::JsonView jsonValue)
AdvancedPromptOptimizationJobSummary & WithCreationTime(CreationTimeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue