AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeComputeQuotaRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API DescribeComputeQuotaRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeComputeQuota"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetComputeQuotaId() const { return m_computeQuotaId; }
38 inline bool ComputeQuotaIdHasBeenSet() const { return m_computeQuotaIdHasBeenSet; }
39 template <typename ComputeQuotaIdT = Aws::String>
40 void SetComputeQuotaId(ComputeQuotaIdT&& value) {
41 m_computeQuotaIdHasBeenSet = true;
42 m_computeQuotaId = std::forward<ComputeQuotaIdT>(value);
43 }
44 template <typename ComputeQuotaIdT = Aws::String>
46 SetComputeQuotaId(std::forward<ComputeQuotaIdT>(value));
47 return *this;
48 }
50
52
55 inline int GetComputeQuotaVersion() const { return m_computeQuotaVersion; }
56 inline bool ComputeQuotaVersionHasBeenSet() const { return m_computeQuotaVersionHasBeenSet; }
57 inline void SetComputeQuotaVersion(int value) {
58 m_computeQuotaVersionHasBeenSet = true;
59 m_computeQuotaVersion = value;
60 }
63 return *this;
64 }
66 private:
67 Aws::String m_computeQuotaId;
68
69 int m_computeQuotaVersion{0};
70 bool m_computeQuotaIdHasBeenSet = false;
71 bool m_computeQuotaVersionHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
AWS_SAGEMAKER_API DescribeComputeQuotaRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeComputeQuotaRequest & WithComputeQuotaVersion(int value)
DescribeComputeQuotaRequest & WithComputeQuotaId(ComputeQuotaIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String