AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetFoundationModelAvailabilityResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/AgreementAvailability.h>
9#include <aws/bedrock/model/AuthorizationStatus.h>
10#include <aws/bedrock/model/EntitlementAvailability.h>
11#include <aws/bedrock/model/RegionAvailability.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Bedrock {
26namespace Model {
28 public:
29 AWS_BEDROCK_API GetFoundationModelAvailabilityResult() = default;
32
34
37 inline const Aws::String& GetModelId() const { return m_modelId; }
38 template <typename ModelIdT = Aws::String>
39 void SetModelId(ModelIdT&& value) {
40 m_modelIdHasBeenSet = true;
41 m_modelId = std::forward<ModelIdT>(value);
42 }
43 template <typename ModelIdT = Aws::String>
45 SetModelId(std::forward<ModelIdT>(value));
46 return *this;
47 }
49
51
54 inline const AgreementAvailability& GetAgreementAvailability() const { return m_agreementAvailability; }
55 template <typename AgreementAvailabilityT = AgreementAvailability>
57 m_agreementAvailabilityHasBeenSet = true;
58 m_agreementAvailability = std::forward<AgreementAvailabilityT>(value);
59 }
60 template <typename AgreementAvailabilityT = AgreementAvailability>
62 SetAgreementAvailability(std::forward<AgreementAvailabilityT>(value));
63 return *this;
64 }
66
68
71 inline AuthorizationStatus GetAuthorizationStatus() const { return m_authorizationStatus; }
73 m_authorizationStatusHasBeenSet = true;
74 m_authorizationStatus = value;
75 }
78 return *this;
79 }
81
83
86 inline EntitlementAvailability GetEntitlementAvailability() const { return m_entitlementAvailability; }
88 m_entitlementAvailabilityHasBeenSet = true;
89 m_entitlementAvailability = value;
90 }
93 return *this;
94 }
96
98
101 inline RegionAvailability GetRegionAvailability() const { return m_regionAvailability; }
103 m_regionAvailabilityHasBeenSet = true;
104 m_regionAvailability = value;
105 }
108 return *this;
109 }
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template <typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) {
117 m_requestIdHasBeenSet = true;
118 m_requestId = std::forward<RequestIdT>(value);
119 }
120 template <typename RequestIdT = Aws::String>
122 SetRequestId(std::forward<RequestIdT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_modelId;
128
129 AgreementAvailability m_agreementAvailability;
130
132
134
136
137 Aws::String m_requestId;
138 bool m_modelIdHasBeenSet = false;
139 bool m_agreementAvailabilityHasBeenSet = false;
140 bool m_authorizationStatusHasBeenSet = false;
141 bool m_entitlementAvailabilityHasBeenSet = false;
142 bool m_regionAvailabilityHasBeenSet = false;
143 bool m_requestIdHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Bedrock
148} // namespace Aws
AWS_BEDROCK_API GetFoundationModelAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFoundationModelAvailabilityResult & WithRequestId(RequestIdT &&value)
GetFoundationModelAvailabilityResult & WithAgreementAvailability(AgreementAvailabilityT &&value)
AWS_BEDROCK_API GetFoundationModelAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFoundationModelAvailabilityResult & WithRegionAvailability(RegionAvailability value)
GetFoundationModelAvailabilityResult & WithEntitlementAvailability(EntitlementAvailability value)
GetFoundationModelAvailabilityResult & WithAuthorizationStatus(AuthorizationStatus value)
GetFoundationModelAvailabilityResult & WithModelId(ModelIdT &&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