AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeImageVersionRequest.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 DescribeImageVersionRequest() = 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 "DescribeImageVersion"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetImageName() const { return m_imageName; }
38 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
39 template <typename ImageNameT = Aws::String>
40 void SetImageName(ImageNameT&& value) {
41 m_imageNameHasBeenSet = true;
42 m_imageName = std::forward<ImageNameT>(value);
43 }
44 template <typename ImageNameT = Aws::String>
46 SetImageName(std::forward<ImageNameT>(value));
47 return *this;
48 }
50
52
56 inline int GetVersion() const { return m_version; }
57 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
58 inline void SetVersion(int value) {
59 m_versionHasBeenSet = true;
60 m_version = value;
61 }
63 SetVersion(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetAlias() const { return m_alias; }
73 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
74 template <typename AliasT = Aws::String>
75 void SetAlias(AliasT&& value) {
76 m_aliasHasBeenSet = true;
77 m_alias = std::forward<AliasT>(value);
78 }
79 template <typename AliasT = Aws::String>
81 SetAlias(std::forward<AliasT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_imageName;
87
88 int m_version{0};
89
90 Aws::String m_alias;
91 bool m_imageNameHasBeenSet = false;
92 bool m_versionHasBeenSet = false;
93 bool m_aliasHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API DescribeImageVersionRequest()=default
DescribeImageVersionRequest & WithImageName(ImageNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeImageVersionRequest & WithAlias(AliasT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String