AWS SDK for C++  1.9.160
AWS SDK for C++
UiTemplateInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUrl() const{ return m_url; }
45 
49  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
50 
54  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
55 
59  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
60 
64  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
65 
69  inline UiTemplateInfo& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
70 
74  inline UiTemplateInfo& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
75 
79  inline UiTemplateInfo& WithUrl(const char* value) { SetUrl(value); return *this;}
80 
81 
85  inline const Aws::String& GetContentSha256() const{ return m_contentSha256; }
86 
90  inline bool ContentSha256HasBeenSet() const { return m_contentSha256HasBeenSet; }
91 
95  inline void SetContentSha256(const Aws::String& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = value; }
96 
100  inline void SetContentSha256(Aws::String&& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = std::move(value); }
101 
105  inline void SetContentSha256(const char* value) { m_contentSha256HasBeenSet = true; m_contentSha256.assign(value); }
106 
110  inline UiTemplateInfo& WithContentSha256(const Aws::String& value) { SetContentSha256(value); return *this;}
111 
115  inline UiTemplateInfo& WithContentSha256(Aws::String&& value) { SetContentSha256(std::move(value)); return *this;}
116 
120  inline UiTemplateInfo& WithContentSha256(const char* value) { SetContentSha256(value); return *this;}
121 
122  private:
123 
124  Aws::String m_url;
125  bool m_urlHasBeenSet;
126 
127  Aws::String m_contentSha256;
128  bool m_contentSha256HasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SageMaker
133 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UiTemplateInfo::ContentSha256HasBeenSet
bool ContentSha256HasBeenSet() const
Definition: UiTemplateInfo.h:90
Aws::SageMaker::Model::UiTemplateInfo::SetUrl
void SetUrl(const char *value)
Definition: UiTemplateInfo.h:64
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UiTemplateInfo::WithContentSha256
UiTemplateInfo & WithContentSha256(Aws::String &&value)
Definition: UiTemplateInfo.h:115
Aws::SageMaker::Model::UiTemplateInfo::GetContentSha256
const Aws::String & GetContentSha256() const
Definition: UiTemplateInfo.h:85
Aws::SageMaker::Model::UiTemplateInfo::SetUrl
void SetUrl(const Aws::String &value)
Definition: UiTemplateInfo.h:54
Aws::SageMaker::Model::UiTemplateInfo::SetContentSha256
void SetContentSha256(const Aws::String &value)
Definition: UiTemplateInfo.h:95
Aws::SageMaker::Model::UiTemplateInfo::SetContentSha256
void SetContentSha256(Aws::String &&value)
Definition: UiTemplateInfo.h:100
Aws::SageMaker::Model::UiTemplateInfo::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: UiTemplateInfo.h:49
Aws::SageMaker::Model::UiTemplateInfo::WithUrl
UiTemplateInfo & WithUrl(const Aws::String &value)
Definition: UiTemplateInfo.h:69
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UiTemplateInfo::UiTemplateInfo
UiTemplateInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UiTemplateInfo::WithUrl
UiTemplateInfo & WithUrl(Aws::String &&value)
Definition: UiTemplateInfo.h:74
Aws::SageMaker::Model::UiTemplateInfo::UiTemplateInfo
UiTemplateInfo()
Aws::SageMaker::Model::UiTemplateInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UiTemplateInfo::WithUrl
UiTemplateInfo & WithUrl(const char *value)
Definition: UiTemplateInfo.h:79
Aws::SageMaker::Model::UiTemplateInfo::operator=
UiTemplateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UiTemplateInfo::GetUrl
const Aws::String & GetUrl() const
Definition: UiTemplateInfo.h:44
Aws::SageMaker::Model::UiTemplateInfo::WithContentSha256
UiTemplateInfo & WithContentSha256(const Aws::String &value)
Definition: UiTemplateInfo.h:110
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::UiTemplateInfo::SetContentSha256
void SetContentSha256(const char *value)
Definition: UiTemplateInfo.h:105
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UiTemplateInfo
Definition: UiTemplateInfo.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UiTemplateInfo::WithContentSha256
UiTemplateInfo & WithContentSha256(const char *value)
Definition: UiTemplateInfo.h:120
Aws::SageMaker::Model::UiTemplateInfo::SetUrl
void SetUrl(Aws::String &&value)
Definition: UiTemplateInfo.h:59