AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateComputeQuotaResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
25 public:
26 AWS_SAGEMAKER_API UpdateComputeQuotaResult() = default;
29
31
34 inline const Aws::String& GetComputeQuotaArn() const { return m_computeQuotaArn; }
35 template <typename ComputeQuotaArnT = Aws::String>
36 void SetComputeQuotaArn(ComputeQuotaArnT&& value) {
37 m_computeQuotaArnHasBeenSet = true;
38 m_computeQuotaArn = std::forward<ComputeQuotaArnT>(value);
39 }
40 template <typename ComputeQuotaArnT = Aws::String>
41 UpdateComputeQuotaResult& WithComputeQuotaArn(ComputeQuotaArnT&& value) {
42 SetComputeQuotaArn(std::forward<ComputeQuotaArnT>(value));
43 return *this;
44 }
46
48
51 inline int GetComputeQuotaVersion() const { return m_computeQuotaVersion; }
52 inline void SetComputeQuotaVersion(int value) {
53 m_computeQuotaVersionHasBeenSet = true;
54 m_computeQuotaVersion = value;
55 }
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
79 Aws::String m_computeQuotaArn;
80
81 int m_computeQuotaVersion{0};
82
83 Aws::String m_requestId;
84 Aws::Http::HttpResponseCode m_HttpResponseCode;
85 bool m_computeQuotaArnHasBeenSet = false;
86 bool m_computeQuotaVersionHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
UpdateComputeQuotaResult & WithComputeQuotaArn(ComputeQuotaArnT &&value)
UpdateComputeQuotaResult & WithRequestId(RequestIdT &&value)
UpdateComputeQuotaResult & WithComputeQuotaVersion(int value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SAGEMAKER_API UpdateComputeQuotaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API UpdateComputeQuotaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API UpdateComputeQuotaResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue