AWS SDK for C++  1.9.159
AWS SDK for C++
CaptureContentTypeHeader.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::Vector<Aws::String>& GetCsvContentTypes() const{ return m_csvContentTypes; }
45 
49  inline bool CsvContentTypesHasBeenSet() const { return m_csvContentTypesHasBeenSet; }
50 
54  inline void SetCsvContentTypes(const Aws::Vector<Aws::String>& value) { m_csvContentTypesHasBeenSet = true; m_csvContentTypes = value; }
55 
59  inline void SetCsvContentTypes(Aws::Vector<Aws::String>&& value) { m_csvContentTypesHasBeenSet = true; m_csvContentTypes = std::move(value); }
60 
64  inline CaptureContentTypeHeader& WithCsvContentTypes(const Aws::Vector<Aws::String>& value) { SetCsvContentTypes(value); return *this;}
65 
69  inline CaptureContentTypeHeader& WithCsvContentTypes(Aws::Vector<Aws::String>&& value) { SetCsvContentTypes(std::move(value)); return *this;}
70 
74  inline CaptureContentTypeHeader& AddCsvContentTypes(const Aws::String& value) { m_csvContentTypesHasBeenSet = true; m_csvContentTypes.push_back(value); return *this; }
75 
79  inline CaptureContentTypeHeader& AddCsvContentTypes(Aws::String&& value) { m_csvContentTypesHasBeenSet = true; m_csvContentTypes.push_back(std::move(value)); return *this; }
80 
84  inline CaptureContentTypeHeader& AddCsvContentTypes(const char* value) { m_csvContentTypesHasBeenSet = true; m_csvContentTypes.push_back(value); return *this; }
85 
86 
90  inline const Aws::Vector<Aws::String>& GetJsonContentTypes() const{ return m_jsonContentTypes; }
91 
95  inline bool JsonContentTypesHasBeenSet() const { return m_jsonContentTypesHasBeenSet; }
96 
100  inline void SetJsonContentTypes(const Aws::Vector<Aws::String>& value) { m_jsonContentTypesHasBeenSet = true; m_jsonContentTypes = value; }
101 
105  inline void SetJsonContentTypes(Aws::Vector<Aws::String>&& value) { m_jsonContentTypesHasBeenSet = true; m_jsonContentTypes = std::move(value); }
106 
110  inline CaptureContentTypeHeader& WithJsonContentTypes(const Aws::Vector<Aws::String>& value) { SetJsonContentTypes(value); return *this;}
111 
115  inline CaptureContentTypeHeader& WithJsonContentTypes(Aws::Vector<Aws::String>&& value) { SetJsonContentTypes(std::move(value)); return *this;}
116 
120  inline CaptureContentTypeHeader& AddJsonContentTypes(const Aws::String& value) { m_jsonContentTypesHasBeenSet = true; m_jsonContentTypes.push_back(value); return *this; }
121 
125  inline CaptureContentTypeHeader& AddJsonContentTypes(Aws::String&& value) { m_jsonContentTypesHasBeenSet = true; m_jsonContentTypes.push_back(std::move(value)); return *this; }
126 
130  inline CaptureContentTypeHeader& AddJsonContentTypes(const char* value) { m_jsonContentTypesHasBeenSet = true; m_jsonContentTypes.push_back(value); return *this; }
131 
132  private:
133 
134  Aws::Vector<Aws::String> m_csvContentTypes;
135  bool m_csvContentTypesHasBeenSet;
136 
137  Aws::Vector<Aws::String> m_jsonContentTypes;
138  bool m_jsonContentTypesHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace SageMaker
143 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CaptureContentTypeHeader::GetCsvContentTypes
const Aws::Vector< Aws::String > & GetCsvContentTypes() const
Definition: CaptureContentTypeHeader.h:44
Aws::SageMaker::Model::CaptureContentTypeHeader::WithJsonContentTypes
CaptureContentTypeHeader & WithJsonContentTypes(Aws::Vector< Aws::String > &&value)
Definition: CaptureContentTypeHeader.h:115
Aws::SageMaker::Model::CaptureContentTypeHeader::JsonContentTypesHasBeenSet
bool JsonContentTypesHasBeenSet() const
Definition: CaptureContentTypeHeader.h:95
Aws::SageMaker::Model::CaptureContentTypeHeader::AddJsonContentTypes
CaptureContentTypeHeader & AddJsonContentTypes(const Aws::String &value)
Definition: CaptureContentTypeHeader.h:120
Aws::SageMaker::Model::CaptureContentTypeHeader::SetCsvContentTypes
void SetCsvContentTypes(Aws::Vector< Aws::String > &&value)
Definition: CaptureContentTypeHeader.h:59
Aws::SageMaker::Model::CaptureContentTypeHeader::AddCsvContentTypes
CaptureContentTypeHeader & AddCsvContentTypes(const Aws::String &value)
Definition: CaptureContentTypeHeader.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::CaptureContentTypeHeader::AddJsonContentTypes
CaptureContentTypeHeader & AddJsonContentTypes(const char *value)
Definition: CaptureContentTypeHeader.h:130
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CaptureContentTypeHeader::AddCsvContentTypes
CaptureContentTypeHeader & AddCsvContentTypes(Aws::String &&value)
Definition: CaptureContentTypeHeader.h:79
Aws::SageMaker::Model::CaptureContentTypeHeader::SetCsvContentTypes
void SetCsvContentTypes(const Aws::Vector< Aws::String > &value)
Definition: CaptureContentTypeHeader.h:54
Aws::SageMaker::Model::CaptureContentTypeHeader::SetJsonContentTypes
void SetJsonContentTypes(const Aws::Vector< Aws::String > &value)
Definition: CaptureContentTypeHeader.h:100
Aws::SageMaker::Model::CaptureContentTypeHeader
Definition: CaptureContentTypeHeader.h:33
Aws::SageMaker::Model::CaptureContentTypeHeader::AddJsonContentTypes
CaptureContentTypeHeader & AddJsonContentTypes(Aws::String &&value)
Definition: CaptureContentTypeHeader.h:125
Aws::SageMaker::Model::CaptureContentTypeHeader::WithCsvContentTypes
CaptureContentTypeHeader & WithCsvContentTypes(const Aws::Vector< Aws::String > &value)
Definition: CaptureContentTypeHeader.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::CaptureContentTypeHeader::CaptureContentTypeHeader
CaptureContentTypeHeader(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CaptureContentTypeHeader::AddCsvContentTypes
CaptureContentTypeHeader & AddCsvContentTypes(const char *value)
Definition: CaptureContentTypeHeader.h:84
Aws::SageMaker::Model::CaptureContentTypeHeader::WithJsonContentTypes
CaptureContentTypeHeader & WithJsonContentTypes(const Aws::Vector< Aws::String > &value)
Definition: CaptureContentTypeHeader.h:110
Aws::SageMaker::Model::CaptureContentTypeHeader::SetJsonContentTypes
void SetJsonContentTypes(Aws::Vector< Aws::String > &&value)
Definition: CaptureContentTypeHeader.h:105
Aws::SageMaker::Model::CaptureContentTypeHeader::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CaptureContentTypeHeader::GetJsonContentTypes
const Aws::Vector< Aws::String > & GetJsonContentTypes() const
Definition: CaptureContentTypeHeader.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CaptureContentTypeHeader::WithCsvContentTypes
CaptureContentTypeHeader & WithCsvContentTypes(Aws::Vector< Aws::String > &&value)
Definition: CaptureContentTypeHeader.h:69
Aws::SageMaker::Model::CaptureContentTypeHeader::operator=
CaptureContentTypeHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CaptureContentTypeHeader::CaptureContentTypeHeader
CaptureContentTypeHeader()
Aws::SageMaker::Model::CaptureContentTypeHeader::CsvContentTypesHasBeenSet
bool CsvContentTypesHasBeenSet() const
Definition: CaptureContentTypeHeader.h:49