AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGuardrailResult.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 CreateGuardrailResult();
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 CreateGuardrailResult& WithGuardrailId(const Aws::String& value) { SetGuardrailId(value); return *this;}
45 inline CreateGuardrailResult& WithGuardrailId(Aws::String&& value) { SetGuardrailId(std::move(value)); return *this;}
46 inline CreateGuardrailResult& 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 CreateGuardrailResult& WithGuardrailArn(const Aws::String& value) { SetGuardrailArn(value); return *this;}
58 inline CreateGuardrailResult& WithGuardrailArn(Aws::String&& value) { SetGuardrailArn(std::move(value)); return *this;}
59 inline CreateGuardrailResult& WithGuardrailArn(const char* value) { SetGuardrailArn(value); return *this;}
61
63
67 inline const Aws::String& GetVersion() const{ return m_version; }
68 inline void SetVersion(const Aws::String& value) { m_version = value; }
69 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
70 inline void SetVersion(const char* value) { m_version.assign(value); }
71 inline CreateGuardrailResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
72 inline CreateGuardrailResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
73 inline CreateGuardrailResult& WithVersion(const char* value) { SetVersion(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
81 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
82 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
83 inline CreateGuardrailResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
84 inline CreateGuardrailResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateGuardrailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateGuardrailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateGuardrailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_guardrailId;
100
101 Aws::String m_guardrailArn;
102
103 Aws::String m_version;
104
105 Aws::Utils::DateTime m_createdAt;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Bedrock
112} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateGuardrailResult & WithRequestId(const Aws::String &value)
AWS_BEDROCK_API CreateGuardrailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGuardrailResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateGuardrailResult & WithRequestId(Aws::String &&value)
CreateGuardrailResult & WithGuardrailId(const char *value)
CreateGuardrailResult & WithVersion(Aws::String &&value)
CreateGuardrailResult & WithGuardrailId(const Aws::String &value)
AWS_BEDROCK_API CreateGuardrailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGuardrailResult & WithGuardrailArn(const Aws::String &value)
CreateGuardrailResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateGuardrailResult & WithGuardrailId(Aws::String &&value)
CreateGuardrailResult & WithGuardrailArn(const char *value)
CreateGuardrailResult & WithVersion(const Aws::String &value)
CreateGuardrailResult & WithGuardrailArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateGuardrailResult & WithRequestId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetGuardrailArn(const Aws::String &value)
void SetGuardrailId(const Aws::String &value)
CreateGuardrailResult & WithVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue