AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHubContentReferenceRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateHubContentReference"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetHubName() const{ return m_hubName; }
44 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
45 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
46 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
47 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
48 inline CreateHubContentReferenceRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
49 inline CreateHubContentReferenceRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
50 inline CreateHubContentReferenceRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
52
54
57 inline const Aws::String& GetSageMakerPublicHubContentArn() const{ return m_sageMakerPublicHubContentArn; }
58 inline bool SageMakerPublicHubContentArnHasBeenSet() const { return m_sageMakerPublicHubContentArnHasBeenSet; }
59 inline void SetSageMakerPublicHubContentArn(const Aws::String& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = value; }
60 inline void SetSageMakerPublicHubContentArn(Aws::String&& value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn = std::move(value); }
61 inline void SetSageMakerPublicHubContentArn(const char* value) { m_sageMakerPublicHubContentArnHasBeenSet = true; m_sageMakerPublicHubContentArn.assign(value); }
66
68
71 inline const Aws::String& GetHubContentName() const{ return m_hubContentName; }
72 inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; }
73 inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; }
74 inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); }
75 inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); }
77 inline CreateHubContentReferenceRequest& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;}
78 inline CreateHubContentReferenceRequest& WithHubContentName(const char* value) { SetHubContentName(value); return *this;}
80
82
85 inline const Aws::String& GetMinVersion() const{ return m_minVersion; }
86 inline bool MinVersionHasBeenSet() const { return m_minVersionHasBeenSet; }
87 inline void SetMinVersion(const Aws::String& value) { m_minVersionHasBeenSet = true; m_minVersion = value; }
88 inline void SetMinVersion(Aws::String&& value) { m_minVersionHasBeenSet = true; m_minVersion = std::move(value); }
89 inline void SetMinVersion(const char* value) { m_minVersionHasBeenSet = true; m_minVersion.assign(value); }
90 inline CreateHubContentReferenceRequest& WithMinVersion(const Aws::String& value) { SetMinVersion(value); return *this;}
91 inline CreateHubContentReferenceRequest& WithMinVersion(Aws::String&& value) { SetMinVersion(std::move(value)); return *this;}
92 inline CreateHubContentReferenceRequest& WithMinVersion(const char* value) { SetMinVersion(value); return *this;}
94
96
99 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
102 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
103 inline CreateHubContentReferenceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
104 inline CreateHubContentReferenceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
105 inline CreateHubContentReferenceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
106 inline CreateHubContentReferenceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_hubName;
111 bool m_hubNameHasBeenSet = false;
112
113 Aws::String m_sageMakerPublicHubContentArn;
114 bool m_sageMakerPublicHubContentArnHasBeenSet = false;
115
116 Aws::String m_hubContentName;
117 bool m_hubContentNameHasBeenSet = false;
118
119 Aws::String m_minVersion;
120 bool m_minVersionHasBeenSet = false;
121
122 Aws::Vector<Tag> m_tags;
123 bool m_tagsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SageMaker
128} // namespace Aws
CreateHubContentReferenceRequest & WithSageMakerPublicHubContentArn(Aws::String &&value)
CreateHubContentReferenceRequest & AddTags(const Tag &value)
CreateHubContentReferenceRequest & WithHubName(const char *value)
CreateHubContentReferenceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateHubContentReferenceRequest & WithSageMakerPublicHubContentArn(const Aws::String &value)
CreateHubContentReferenceRequest & WithMinVersion(const char *value)
CreateHubContentReferenceRequest & WithHubContentName(Aws::String &&value)
CreateHubContentReferenceRequest & WithHubContentName(const Aws::String &value)
CreateHubContentReferenceRequest & WithHubName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateHubContentReferenceRequest & WithHubName(Aws::String &&value)
CreateHubContentReferenceRequest & WithMinVersion(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateHubContentReferenceRequest & WithTags(const Aws::Vector< Tag > &value)
CreateHubContentReferenceRequest & WithHubContentName(const char *value)
CreateHubContentReferenceRequest & WithSageMakerPublicHubContentArn(const char *value)
CreateHubContentReferenceRequest & WithMinVersion(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector