AWS SDK for C++  1.9.154
AWS SDK for C++
UiTemplate.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& GetContent() const{ return m_content; }
45 
49  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
50 
54  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
55 
59  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
60 
64  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
65 
69  inline UiTemplate& WithContent(const Aws::String& value) { SetContent(value); return *this;}
70 
74  inline UiTemplate& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
75 
79  inline UiTemplate& WithContent(const char* value) { SetContent(value); return *this;}
80 
81  private:
82 
83  Aws::String m_content;
84  bool m_contentHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SageMaker
89 } // namespace Aws
Aws::SageMaker::Model::UiTemplate::WithContent
UiTemplate & WithContent(const Aws::String &value)
Definition: UiTemplate.h:69
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UiTemplate::WithContent
UiTemplate & WithContent(const char *value)
Definition: UiTemplate.h:79
Aws::SageMaker::Model::UiTemplate::SetContent
void SetContent(const char *value)
Definition: UiTemplate.h:64
Aws::SageMaker::Model::UiTemplate::UiTemplate
UiTemplate()
Aws::SageMaker::Model::UiTemplate::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: UiTemplate.h:49
Aws::SageMaker::Model::UiTemplate::operator=
UiTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UiTemplate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UiTemplate::WithContent
UiTemplate & WithContent(Aws::String &&value)
Definition: UiTemplate.h:74
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UiTemplate::SetContent
void SetContent(Aws::String &&value)
Definition: UiTemplate.h:59
Aws::SageMaker::Model::UiTemplate::UiTemplate
UiTemplate(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UiTemplate::GetContent
const Aws::String & GetContent() const
Definition: UiTemplate.h:44
Aws::SageMaker::Model::UiTemplate
Definition: UiTemplate.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::UiTemplate::SetContent
void SetContent(const Aws::String &value)
Definition: UiTemplate.h:54
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97