AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetFoundationModelAvailabilityResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/AgreementAvailability.h>
10#include <aws/bedrock/model/AuthorizationStatus.h>
11#include <aws/bedrock/model/EntitlementAvailability.h>
12#include <aws/bedrock/model/RegionAvailability.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Bedrock
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BEDROCK_API GetFoundationModelAvailabilityResult() = default;
37
38
40
43 inline const Aws::String& GetModelId() const { return m_modelId; }
44 template<typename ModelIdT = Aws::String>
45 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
46 template<typename ModelIdT = Aws::String>
47 GetFoundationModelAvailabilityResult& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
49
51
54 inline const AgreementAvailability& GetAgreementAvailability() const { return m_agreementAvailability; }
55 template<typename AgreementAvailabilityT = AgreementAvailability>
56 void SetAgreementAvailability(AgreementAvailabilityT&& value) { m_agreementAvailabilityHasBeenSet = true; m_agreementAvailability = std::forward<AgreementAvailabilityT>(value); }
57 template<typename AgreementAvailabilityT = AgreementAvailability>
58 GetFoundationModelAvailabilityResult& WithAgreementAvailability(AgreementAvailabilityT&& value) { SetAgreementAvailability(std::forward<AgreementAvailabilityT>(value)); return *this;}
60
62
65 inline AuthorizationStatus GetAuthorizationStatus() const { return m_authorizationStatus; }
66 inline void SetAuthorizationStatus(AuthorizationStatus value) { m_authorizationStatusHasBeenSet = true; m_authorizationStatus = value; }
69
71
74 inline EntitlementAvailability GetEntitlementAvailability() const { return m_entitlementAvailability; }
75 inline void SetEntitlementAvailability(EntitlementAvailability value) { m_entitlementAvailabilityHasBeenSet = true; m_entitlementAvailability = value; }
78
80
83 inline RegionAvailability GetRegionAvailability() const { return m_regionAvailability; }
84 inline void SetRegionAvailability(RegionAvailability value) { m_regionAvailabilityHasBeenSet = true; m_regionAvailability = value; }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template<typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
93 template<typename RequestIdT = Aws::String>
94 GetFoundationModelAvailabilityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
96 private:
97
98 Aws::String m_modelId;
99 bool m_modelIdHasBeenSet = false;
100
101 AgreementAvailability m_agreementAvailability;
102 bool m_agreementAvailabilityHasBeenSet = false;
103
105 bool m_authorizationStatusHasBeenSet = false;
106
108 bool m_entitlementAvailabilityHasBeenSet = false;
109
111 bool m_regionAvailabilityHasBeenSet = false;
112
113 Aws::String m_requestId;
114 bool m_requestIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Bedrock
119} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue