AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
AutomatedReasoningPolicySummary.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCK_API AutomatedReasoningPolicySummary() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
47 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
48 template<typename PolicyArnT = Aws::String>
49 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::forward<PolicyArnT>(value); }
50 template<typename PolicyArnT = Aws::String>
51 AutomatedReasoningPolicySummary& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 AutomatedReasoningPolicySummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 AutomatedReasoningPolicySummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetVersion() const { return m_version; }
83 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
84 template<typename VersionT = Aws::String>
85 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
86 template<typename VersionT = Aws::String>
87 AutomatedReasoningPolicySummary& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
89
91
94 inline const Aws::String& GetPolicyId() const { return m_policyId; }
95 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
96 template<typename PolicyIdT = Aws::String>
97 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet = true; m_policyId = std::forward<PolicyIdT>(value); }
98 template<typename PolicyIdT = Aws::String>
99 AutomatedReasoningPolicySummary& WithPolicyId(PolicyIdT&& value) { SetPolicyId(std::forward<PolicyIdT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
108 template<typename CreatedAtT = Aws::Utils::DateTime>
109 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
110 template<typename CreatedAtT = Aws::Utils::DateTime>
111 AutomatedReasoningPolicySummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
119 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
120 template<typename UpdatedAtT = Aws::Utils::DateTime>
121 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
122 template<typename UpdatedAtT = Aws::Utils::DateTime>
123 AutomatedReasoningPolicySummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
125 private:
126
127 Aws::String m_policyArn;
128 bool m_policyArnHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::String m_version;
137 bool m_versionHasBeenSet = false;
138
139 Aws::String m_policyId;
140 bool m_policyIdHasBeenSet = false;
141
142 Aws::Utils::DateTime m_createdAt{};
143 bool m_createdAtHasBeenSet = false;
144
145 Aws::Utils::DateTime m_updatedAt{};
146 bool m_updatedAtHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Bedrock
151} // namespace Aws
AutomatedReasoningPolicySummary & WithVersion(VersionT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicySummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API AutomatedReasoningPolicySummary(Aws::Utils::Json::JsonView jsonValue)
AutomatedReasoningPolicySummary & WithCreatedAt(CreatedAtT &&value)
AutomatedReasoningPolicySummary & WithPolicyArn(PolicyArnT &&value)
AutomatedReasoningPolicySummary & WithPolicyId(PolicyIdT &&value)
AWS_BEDROCK_API AutomatedReasoningPolicySummary()=default
AutomatedReasoningPolicySummary & WithDescription(DescriptionT &&value)
AutomatedReasoningPolicySummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue