AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeHubContentRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/HubContentType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DescribeHubContentRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeHubContent"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetHubName() const{ return m_hubName; }
43 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
44 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
45 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
46 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
47 inline DescribeHubContentRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
48 inline DescribeHubContentRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
49 inline DescribeHubContentRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
51
53
56 inline const HubContentType& GetHubContentType() const{ return m_hubContentType; }
57 inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; }
58 inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; }
59 inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); }
61 inline DescribeHubContentRequest& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetHubContentName() const{ return m_hubContentName; }
69 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
70 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
71 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
72 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
73 inline DescribeHubContentRequest& WithHubContentName(const Aws::String& value) { SetHubContentName(value); return *this;}
74 inline DescribeHubContentRequest& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
75 inline DescribeHubContentRequest& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
77
79
82 inline const Aws::String& GetHubContentVersion() const{ return m_hubContentVersion; }
83 inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; }
84 inline void SetHubContentVersion(const Aws::String& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = value; }
85 inline void SetHubContentVersion(Aws::String&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::move(value); }
86 inline void SetHubContentVersion(const char* value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion.assign(value); }
88 inline DescribeHubContentRequest& WithHubContentVersion(Aws::String&& value) { SetHubContentVersion(std::move(value)); return *this;}
89 inline DescribeHubContentRequest& WithHubContentVersion(const char* value) { SetHubContentVersion(value); return *this;}
91 private:
92
93 Aws::String m_hubName;
94 bool m_hubNameHasBeenSet = false;
95
96 HubContentType m_hubContentType;
97 bool m_hubContentTypeHasBeenSet = false;
98
99 Aws::String m_hubContentName;
100 bool m_hubContentNameHasBeenSet = false;
101
102 Aws::String m_hubContentVersion;
103 bool m_hubContentVersionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeHubContentRequest & WithHubContentName(const char *value)
DescribeHubContentRequest & WithHubName(const Aws::String &value)
DescribeHubContentRequest & WithHubContentVersion(Aws::String &&value)
DescribeHubContentRequest & WithHubContentVersion(const char *value)
DescribeHubContentRequest & WithHubContentVersion(const Aws::String &value)
DescribeHubContentRequest & WithHubName(const char *value)
DescribeHubContentRequest & WithHubContentType(const HubContentType &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeHubContentRequest & WithHubName(Aws::String &&value)
DescribeHubContentRequest & WithHubContentName(Aws::String &&value)
DescribeHubContentRequest & WithHubContentName(const Aws::String &value)
DescribeHubContentRequest & WithHubContentType(HubContentType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String