AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BlueprintSummary.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/BlueprintStage.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 BedrockDataAutomation {
22namespace Model {
23
30 public:
31 AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary() = default;
32 AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
39 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
40 template <typename BlueprintArnT = Aws::String>
41 void SetBlueprintArn(BlueprintArnT&& value) {
42 m_blueprintArnHasBeenSet = true;
43 m_blueprintArn = std::forward<BlueprintArnT>(value);
44 }
45 template <typename BlueprintArnT = Aws::String>
46 BlueprintSummary& WithBlueprintArn(BlueprintArnT&& value) {
47 SetBlueprintArn(std::forward<BlueprintArnT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
55 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
56 template <typename BlueprintVersionT = Aws::String>
57 void SetBlueprintVersion(BlueprintVersionT&& value) {
58 m_blueprintVersionHasBeenSet = true;
59 m_blueprintVersion = std::forward<BlueprintVersionT>(value);
60 }
61 template <typename BlueprintVersionT = Aws::String>
62 BlueprintSummary& WithBlueprintVersion(BlueprintVersionT&& value) {
63 SetBlueprintVersion(std::forward<BlueprintVersionT>(value));
64 return *this;
65 }
67
69
70 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
71 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
72 inline void SetBlueprintStage(BlueprintStage value) {
73 m_blueprintStageHasBeenSet = true;
74 m_blueprintStage = value;
75 }
77 SetBlueprintStage(value);
78 return *this;
79 }
81
83
84 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
85 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
86 template <typename BlueprintNameT = Aws::String>
87 void SetBlueprintName(BlueprintNameT&& value) {
88 m_blueprintNameHasBeenSet = true;
89 m_blueprintName = std::forward<BlueprintNameT>(value);
90 }
91 template <typename BlueprintNameT = Aws::String>
92 BlueprintSummary& WithBlueprintName(BlueprintNameT&& value) {
93 SetBlueprintName(std::forward<BlueprintNameT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
101 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
103 void SetCreationTime(CreationTimeT&& value) {
104 m_creationTimeHasBeenSet = true;
105 m_creationTime = std::forward<CreationTimeT>(value);
106 }
107 template <typename CreationTimeT = Aws::Utils::DateTime>
108 BlueprintSummary& WithCreationTime(CreationTimeT&& value) {
109 SetCreationTime(std::forward<CreationTimeT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
117 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
118 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
119 void SetLastModifiedTime(LastModifiedTimeT&& value) {
120 m_lastModifiedTimeHasBeenSet = true;
121 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
122 }
123 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
124 BlueprintSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
125 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_blueprintArn;
131
132 Aws::String m_blueprintVersion;
133
134 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
135
136 Aws::String m_blueprintName;
137
138 Aws::Utils::DateTime m_creationTime{};
139
140 Aws::Utils::DateTime m_lastModifiedTime{};
141 bool m_blueprintArnHasBeenSet = false;
142 bool m_blueprintVersionHasBeenSet = false;
143 bool m_blueprintStageHasBeenSet = false;
144 bool m_blueprintNameHasBeenSet = false;
145 bool m_creationTimeHasBeenSet = false;
146 bool m_lastModifiedTimeHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace BedrockDataAutomation
151} // namespace Aws
BlueprintSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary()=default
BlueprintSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetBlueprintVersion(BlueprintVersionT &&value)
BlueprintSummary & WithBlueprintName(BlueprintNameT &&value)
BlueprintSummary & WithBlueprintVersion(BlueprintVersionT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
BlueprintSummary & WithBlueprintStage(BlueprintStage value)
AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API BlueprintSummary(Aws::Utils::Json::JsonView jsonValue)
BlueprintSummary & WithBlueprintArn(BlueprintArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue