AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGuardrailResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_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 Bedrock
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCK_API UpdateGuardrailResult();
34
35
37
40 inline const Aws::String& GetGuardrailId() const{ return m_guardrailId; }
41 inline void SetGuardrailId(const Aws::String& value) { m_guardrailId = value; }
42 inline void SetGuardrailId(Aws::String&& value) { m_guardrailId = std::move(value); }
43 inline void SetGuardrailId(const char* value) { m_guardrailId.assign(value); }
44 inline UpdateGuardrailResult& WithGuardrailId(const Aws::String& value) { SetGuardrailId(value); return *this;}
45 inline UpdateGuardrailResult& WithGuardrailId(Aws::String&& value) { SetGuardrailId(std::move(value)); return *this;}
46 inline UpdateGuardrailResult& WithGuardrailId(const char* value) { SetGuardrailId(value); return *this;}
48
50
53 inline const Aws::String& GetGuardrailArn() const{ return m_guardrailArn; }
54 inline void SetGuardrailArn(const Aws::String& value) { m_guardrailArn = value; }
55 inline void SetGuardrailArn(Aws::String&& value) { m_guardrailArn = std::move(value); }
56 inline void SetGuardrailArn(const char* value) { m_guardrailArn.assign(value); }
57 inline UpdateGuardrailResult& WithGuardrailArn(const Aws::String& value) { SetGuardrailArn(value); return *this;}
58 inline UpdateGuardrailResult& WithGuardrailArn(Aws::String&& value) { SetGuardrailArn(std::move(value)); return *this;}
59 inline UpdateGuardrailResult& WithGuardrailArn(const char* value) { SetGuardrailArn(value); return *this;}
61
63
66 inline const Aws::String& GetVersion() const{ return m_version; }
67 inline void SetVersion(const Aws::String& value) { m_version = value; }
68 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
69 inline void SetVersion(const char* value) { m_version.assign(value); }
70 inline UpdateGuardrailResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
71 inline UpdateGuardrailResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
72 inline UpdateGuardrailResult& WithVersion(const char* value) { SetVersion(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
80 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
81 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
82 inline UpdateGuardrailResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
83 inline UpdateGuardrailResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(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 UpdateGuardrailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline UpdateGuardrailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline UpdateGuardrailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_guardrailId;
99
100 Aws::String m_guardrailArn;
101
102 Aws::String m_version;
103
104 Aws::Utils::DateTime m_updatedAt;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace Bedrock
111} // namespace Aws
UpdateGuardrailResult & WithRequestId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateGuardrailResult & WithGuardrailArn(Aws::String &&value)
UpdateGuardrailResult & WithGuardrailId(const Aws::String &value)
UpdateGuardrailResult & WithRequestId(const char *value)
AWS_BEDROCK_API UpdateGuardrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGuardrailResult & WithGuardrailId(const char *value)
UpdateGuardrailResult & WithVersion(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCK_API UpdateGuardrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGuardrailResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateGuardrailResult & WithVersion(Aws::String &&value)
UpdateGuardrailResult & WithGuardrailArn(const char *value)
void SetGuardrailId(const Aws::String &value)
void SetGuardrailArn(const Aws::String &value)
UpdateGuardrailResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateGuardrailResult & WithGuardrailArn(const Aws::String &value)
UpdateGuardrailResult & WithRequestId(Aws::String &&value)
UpdateGuardrailResult & WithVersion(const Aws::String &value)
UpdateGuardrailResult & WithGuardrailId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue