AWS SDK for C++  1.9.160
AWS SDK for C++
RenderUiTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetRenderedContent() const{ return m_renderedContent; }
41 
45  inline void SetRenderedContent(const Aws::String& value) { m_renderedContent = value; }
46 
50  inline void SetRenderedContent(Aws::String&& value) { m_renderedContent = std::move(value); }
51 
55  inline void SetRenderedContent(const char* value) { m_renderedContent.assign(value); }
56 
60  inline RenderUiTemplateResult& WithRenderedContent(const Aws::String& value) { SetRenderedContent(value); return *this;}
61 
65  inline RenderUiTemplateResult& WithRenderedContent(Aws::String&& value) { SetRenderedContent(std::move(value)); return *this;}
66 
70  inline RenderUiTemplateResult& WithRenderedContent(const char* value) { SetRenderedContent(value); return *this;}
71 
72 
78  inline const Aws::Vector<RenderingError>& GetErrors() const{ return m_errors; }
79 
85  inline void SetErrors(const Aws::Vector<RenderingError>& value) { m_errors = value; }
86 
92  inline void SetErrors(Aws::Vector<RenderingError>&& value) { m_errors = std::move(value); }
93 
99  inline RenderUiTemplateResult& WithErrors(const Aws::Vector<RenderingError>& value) { SetErrors(value); return *this;}
100 
106  inline RenderUiTemplateResult& WithErrors(Aws::Vector<RenderingError>&& value) { SetErrors(std::move(value)); return *this;}
107 
113  inline RenderUiTemplateResult& AddErrors(const RenderingError& value) { m_errors.push_back(value); return *this; }
114 
120  inline RenderUiTemplateResult& AddErrors(RenderingError&& value) { m_errors.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::String m_renderedContent;
125 
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::RenderUiTemplateResult::operator=
RenderUiTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::RenderUiTemplateResult::AddErrors
RenderUiTemplateResult & AddErrors(const RenderingError &value)
Definition: RenderUiTemplateResult.h:113
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::RenderUiTemplateResult::SetRenderedContent
void SetRenderedContent(const Aws::String &value)
Definition: RenderUiTemplateResult.h:45
Aws::SageMaker::Model::RenderUiTemplateResult::WithRenderedContent
RenderUiTemplateResult & WithRenderedContent(Aws::String &&value)
Definition: RenderUiTemplateResult.h:65
Aws::SageMaker::Model::RenderUiTemplateResult::SetRenderedContent
void SetRenderedContent(const char *value)
Definition: RenderUiTemplateResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::RenderUiTemplateResult::SetErrors
void SetErrors(const Aws::Vector< RenderingError > &value)
Definition: RenderUiTemplateResult.h:85
AWSVector.h
RenderingError.h
Aws::SageMaker::Model::RenderUiTemplateResult::WithRenderedContent
RenderUiTemplateResult & WithRenderedContent(const Aws::String &value)
Definition: RenderUiTemplateResult.h:60
Aws::SageMaker::Model::RenderUiTemplateResult::WithErrors
RenderUiTemplateResult & WithErrors(Aws::Vector< RenderingError > &&value)
Definition: RenderUiTemplateResult.h:106
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::RenderUiTemplateResult::SetRenderedContent
void SetRenderedContent(Aws::String &&value)
Definition: RenderUiTemplateResult.h:50
Aws::SageMaker::Model::RenderUiTemplateResult
Definition: RenderUiTemplateResult.h:30
AWSString.h
Aws::SageMaker::Model::RenderUiTemplateResult::WithErrors
RenderUiTemplateResult & WithErrors(const Aws::Vector< RenderingError > &value)
Definition: RenderUiTemplateResult.h:99
Aws::SageMaker::Model::RenderUiTemplateResult::SetErrors
void SetErrors(Aws::Vector< RenderingError > &&value)
Definition: RenderUiTemplateResult.h:92
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::RenderUiTemplateResult::GetRenderedContent
const Aws::String & GetRenderedContent() const
Definition: RenderUiTemplateResult.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::RenderUiTemplateResult::WithRenderedContent
RenderUiTemplateResult & WithRenderedContent(const char *value)
Definition: RenderUiTemplateResult.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::RenderUiTemplateResult::GetErrors
const Aws::Vector< RenderingError > & GetErrors() const
Definition: RenderUiTemplateResult.h:78
Aws::SageMaker::Model::RenderingError
Definition: RenderingError.h:33
Aws::SageMaker::Model::RenderUiTemplateResult::AddErrors
RenderUiTemplateResult & AddErrors(RenderingError &&value)
Definition: RenderUiTemplateResult.h:120
Aws::SageMaker::Model::RenderUiTemplateResult::RenderUiTemplateResult
RenderUiTemplateResult()
Aws::SageMaker::Model::RenderUiTemplateResult::RenderUiTemplateResult
RenderUiTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)