AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UiTemplateInfo.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API UiTemplateInfo();
36 AWS_SAGEMAKER_API UiTemplateInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUrl() const{ return m_url; }
46 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
47 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
48 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
49 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
50 inline UiTemplateInfo& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
51 inline UiTemplateInfo& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
52 inline UiTemplateInfo& WithUrl(const char* value) { SetUrl(value); return *this;}
54
56
59 inline const Aws::String& GetContentSha256() const{ return m_contentSha256; }
60 inline bool ContentSha256HasBeenSet() const { return m_contentSha256HasBeenSet; }
61 inline void SetContentSha256(const Aws::String& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = value; }
62 inline void SetContentSha256(Aws::String&& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = std::move(value); }
63 inline void SetContentSha256(const char* value) { m_contentSha256HasBeenSet = true; m_contentSha256.assign(value); }
64 inline UiTemplateInfo& WithContentSha256(const Aws::String& value) { SetContentSha256(value); return *this;}
65 inline UiTemplateInfo& WithContentSha256(Aws::String&& value) { SetContentSha256(std::move(value)); return *this;}
66 inline UiTemplateInfo& WithContentSha256(const char* value) { SetContentSha256(value); return *this;}
68 private:
69
70 Aws::String m_url;
71 bool m_urlHasBeenSet = false;
72
73 Aws::String m_contentSha256;
74 bool m_contentSha256HasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
UiTemplateInfo & WithUrl(const char *value)
UiTemplateInfo & WithContentSha256(const Aws::String &value)
const Aws::String & GetUrl() const
void SetContentSha256(const Aws::String &value)
const Aws::String & GetContentSha256() const
UiTemplateInfo & WithContentSha256(Aws::String &&value)
UiTemplateInfo & WithUrl(Aws::String &&value)
AWS_SAGEMAKER_API UiTemplateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
UiTemplateInfo & WithContentSha256(const char *value)
void SetContentSha256(const char *value)
AWS_SAGEMAKER_API UiTemplateInfo(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(Aws::String &&value)
UiTemplateInfo & WithUrl(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUrl(const Aws::String &value)
void SetContentSha256(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue