AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHubRequest.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/HubS3StorageConfig.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API CreateHubRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateHub"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetHubName() const{ return m_hubName; }
45 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
46 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
47 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
48 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
49 inline CreateHubRequest& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
50 inline CreateHubRequest& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
51 inline CreateHubRequest& WithHubName(const char* value) { SetHubName(value); return *this;}
53
55
58 inline const Aws::String& GetHubDescription() const{ return m_hubDescription; }
59 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
60 inline void SetHubDescription(const Aws::String& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = value; }
61 inline void SetHubDescription(Aws::String&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::move(value); }
62 inline void SetHubDescription(const char* value) { m_hubDescriptionHasBeenSet = true; m_hubDescription.assign(value); }
63 inline CreateHubRequest& WithHubDescription(const Aws::String& value) { SetHubDescription(value); return *this;}
64 inline CreateHubRequest& WithHubDescription(Aws::String&& value) { SetHubDescription(std::move(value)); return *this;}
65 inline CreateHubRequest& WithHubDescription(const char* value) { SetHubDescription(value); return *this;}
67
69
72 inline const Aws::String& GetHubDisplayName() const{ return m_hubDisplayName; }
73 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
74 inline void SetHubDisplayName(const Aws::String& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = value; }
75 inline void SetHubDisplayName(Aws::String&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::move(value); }
76 inline void SetHubDisplayName(const char* value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName.assign(value); }
77 inline CreateHubRequest& WithHubDisplayName(const Aws::String& value) { SetHubDisplayName(value); return *this;}
78 inline CreateHubRequest& WithHubDisplayName(Aws::String&& value) { SetHubDisplayName(std::move(value)); return *this;}
79 inline CreateHubRequest& WithHubDisplayName(const char* value) { SetHubDisplayName(value); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const{ return m_hubSearchKeywords; }
87 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
88 inline void SetHubSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = value; }
89 inline void SetHubSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::move(value); }
91 inline CreateHubRequest& WithHubSearchKeywords(Aws::Vector<Aws::String>&& value) { SetHubSearchKeywords(std::move(value)); return *this;}
92 inline CreateHubRequest& AddHubSearchKeywords(const Aws::String& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
93 inline CreateHubRequest& AddHubSearchKeywords(Aws::String&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(std::move(value)); return *this; }
94 inline CreateHubRequest& AddHubSearchKeywords(const char* value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
96
98
101 inline const HubS3StorageConfig& GetS3StorageConfig() const{ return m_s3StorageConfig; }
102 inline bool S3StorageConfigHasBeenSet() const { return m_s3StorageConfigHasBeenSet; }
103 inline void SetS3StorageConfig(const HubS3StorageConfig& value) { m_s3StorageConfigHasBeenSet = true; m_s3StorageConfig = value; }
104 inline void SetS3StorageConfig(HubS3StorageConfig&& value) { m_s3StorageConfigHasBeenSet = true; m_s3StorageConfig = std::move(value); }
105 inline CreateHubRequest& WithS3StorageConfig(const HubS3StorageConfig& value) { SetS3StorageConfig(value); return *this;}
106 inline CreateHubRequest& WithS3StorageConfig(HubS3StorageConfig&& value) { SetS3StorageConfig(std::move(value)); return *this;}
108
110
113 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
114 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
115 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
116 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
117 inline CreateHubRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
118 inline CreateHubRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
119 inline CreateHubRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
120 inline CreateHubRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
122 private:
123
124 Aws::String m_hubName;
125 bool m_hubNameHasBeenSet = false;
126
127 Aws::String m_hubDescription;
128 bool m_hubDescriptionHasBeenSet = false;
129
130 Aws::String m_hubDisplayName;
131 bool m_hubDisplayNameHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_hubSearchKeywords;
134 bool m_hubSearchKeywordsHasBeenSet = false;
135
136 HubS3StorageConfig m_s3StorageConfig;
137 bool m_s3StorageConfigHasBeenSet = false;
138
139 Aws::Vector<Tag> m_tags;
140 bool m_tagsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
CreateHubRequest & AddHubSearchKeywords(const char *value)
CreateHubRequest & AddHubSearchKeywords(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
const HubS3StorageConfig & GetS3StorageConfig() const
void SetHubName(const Aws::String &value)
CreateHubRequest & WithHubSearchKeywords(const Aws::Vector< Aws::String > &value)
CreateHubRequest & WithHubName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateHubRequest & WithHubDisplayName(const char *value)
CreateHubRequest & AddHubSearchKeywords(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(Aws::Vector< Tag > &&value)
CreateHubRequest & WithHubName(const Aws::String &value)
CreateHubRequest & WithS3StorageConfig(const HubS3StorageConfig &value)
void SetHubSearchKeywords(Aws::Vector< Aws::String > &&value)
CreateHubRequest & WithS3StorageConfig(HubS3StorageConfig &&value)
void SetHubDescription(Aws::String &&value)
CreateHubRequest & WithHubName(Aws::String &&value)
CreateHubRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetHubDescription() const
void SetHubDisplayName(const Aws::String &value)
void SetHubSearchKeywords(const Aws::Vector< Aws::String > &value)
CreateHubRequest & WithHubSearchKeywords(Aws::Vector< Aws::String > &&value)
const Aws::String & GetHubDisplayName() const
virtual const char * GetServiceRequestName() const override
CreateHubRequest & WithTags(Aws::Vector< Tag > &&value)
void SetHubDescription(const Aws::String &value)
CreateHubRequest & AddTags(Tag &&value)
void SetS3StorageConfig(const HubS3StorageConfig &value)
CreateHubRequest & WithHubDescription(Aws::String &&value)
void SetS3StorageConfig(HubS3StorageConfig &&value)
CreateHubRequest & WithHubDescription(const Aws::String &value)
CreateHubRequest & WithHubDisplayName(Aws::String &&value)
const Aws::String & GetHubName() const
CreateHubRequest & WithHubDescription(const char *value)
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
CreateHubRequest & WithHubDisplayName(const Aws::String &value)
void SetHubDisplayName(Aws::String &&value)
CreateHubRequest & AddTags(const Tag &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