AWS SDK for C++  1.9.154
AWS SDK for C++
TeletextDestinationSettings.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaConvert
24 {
25 namespace Model
26 {
27 
39  {
40  public:
45 
46 
53  inline const Aws::String& GetPageNumber() const{ return m_pageNumber; }
54 
61  inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
62 
69  inline void SetPageNumber(const Aws::String& value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; }
70 
77  inline void SetPageNumber(Aws::String&& value) { m_pageNumberHasBeenSet = true; m_pageNumber = std::move(value); }
78 
85  inline void SetPageNumber(const char* value) { m_pageNumberHasBeenSet = true; m_pageNumber.assign(value); }
86 
93  inline TeletextDestinationSettings& WithPageNumber(const Aws::String& value) { SetPageNumber(value); return *this;}
94 
101  inline TeletextDestinationSettings& WithPageNumber(Aws::String&& value) { SetPageNumber(std::move(value)); return *this;}
102 
109  inline TeletextDestinationSettings& WithPageNumber(const char* value) { SetPageNumber(value); return *this;}
110 
111 
119  inline const Aws::Vector<TeletextPageType>& GetPageTypes() const{ return m_pageTypes; }
120 
128  inline bool PageTypesHasBeenSet() const { return m_pageTypesHasBeenSet; }
129 
137  inline void SetPageTypes(const Aws::Vector<TeletextPageType>& value) { m_pageTypesHasBeenSet = true; m_pageTypes = value; }
138 
146  inline void SetPageTypes(Aws::Vector<TeletextPageType>&& value) { m_pageTypesHasBeenSet = true; m_pageTypes = std::move(value); }
147 
155  inline TeletextDestinationSettings& WithPageTypes(const Aws::Vector<TeletextPageType>& value) { SetPageTypes(value); return *this;}
156 
164  inline TeletextDestinationSettings& WithPageTypes(Aws::Vector<TeletextPageType>&& value) { SetPageTypes(std::move(value)); return *this;}
165 
173  inline TeletextDestinationSettings& AddPageTypes(const TeletextPageType& value) { m_pageTypesHasBeenSet = true; m_pageTypes.push_back(value); return *this; }
174 
182  inline TeletextDestinationSettings& AddPageTypes(TeletextPageType&& value) { m_pageTypesHasBeenSet = true; m_pageTypes.push_back(std::move(value)); return *this; }
183 
184  private:
185 
186  Aws::String m_pageNumber;
187  bool m_pageNumberHasBeenSet;
188 
189  Aws::Vector<TeletextPageType> m_pageTypes;
190  bool m_pageTypesHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace MediaConvert
195 } // namespace Aws
Aws::MediaConvert::Model::TeletextDestinationSettings::TeletextDestinationSettings
TeletextDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::TeletextDestinationSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::TeletextDestinationSettings::WithPageNumber
TeletextDestinationSettings & WithPageNumber(const char *value)
Definition: TeletextDestinationSettings.h:109
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::TeletextDestinationSettings::GetPageNumber
const Aws::String & GetPageNumber() const
Definition: TeletextDestinationSettings.h:53
Aws::MediaConvert::Model::TeletextDestinationSettings::SetPageNumber
void SetPageNumber(const char *value)
Definition: TeletextDestinationSettings.h:85
Aws::MediaConvert::Model::TeletextDestinationSettings
Definition: TeletextDestinationSettings.h:39
Aws::MediaConvert::Model::TeletextPageType
TeletextPageType
Definition: TeletextPageType.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MediaConvert::Model::TeletextDestinationSettings::PageTypesHasBeenSet
bool PageTypesHasBeenSet() const
Definition: TeletextDestinationSettings.h:128
Aws::MediaConvert::Model::TeletextDestinationSettings::AddPageTypes
TeletextDestinationSettings & AddPageTypes(const TeletextPageType &value)
Definition: TeletextDestinationSettings.h:173
Aws::MediaConvert::Model::TeletextDestinationSettings::WithPageTypes
TeletextDestinationSettings & WithPageTypes(Aws::Vector< TeletextPageType > &&value)
Definition: TeletextDestinationSettings.h:164
Aws::MediaConvert::Model::TeletextDestinationSettings::PageNumberHasBeenSet
bool PageNumberHasBeenSet() const
Definition: TeletextDestinationSettings.h:61
Aws::MediaConvert::Model::TeletextDestinationSettings::SetPageNumber
void SetPageNumber(const Aws::String &value)
Definition: TeletextDestinationSettings.h:69
Aws::MediaConvert::Model::TeletextDestinationSettings::SetPageNumber
void SetPageNumber(Aws::String &&value)
Definition: TeletextDestinationSettings.h:77
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
TeletextPageType.h
Aws::MediaConvert::Model::TeletextDestinationSettings::AddPageTypes
TeletextDestinationSettings & AddPageTypes(TeletextPageType &&value)
Definition: TeletextDestinationSettings.h:182
Aws::MediaConvert::Model::TeletextDestinationSettings::WithPageTypes
TeletextDestinationSettings & WithPageTypes(const Aws::Vector< TeletextPageType > &value)
Definition: TeletextDestinationSettings.h:155
Aws::MediaConvert::Model::TeletextDestinationSettings::GetPageTypes
const Aws::Vector< TeletextPageType > & GetPageTypes() const
Definition: TeletextDestinationSettings.h:119
Aws::MediaConvert::Model::TeletextDestinationSettings::WithPageNumber
TeletextDestinationSettings & WithPageNumber(Aws::String &&value)
Definition: TeletextDestinationSettings.h:101
Aws::MediaConvert::Model::TeletextDestinationSettings::operator=
TeletextDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::TeletextDestinationSettings::SetPageTypes
void SetPageTypes(const Aws::Vector< TeletextPageType > &value)
Definition: TeletextDestinationSettings.h:137
Aws::MediaConvert::Model::TeletextDestinationSettings::TeletextDestinationSettings
TeletextDestinationSettings()
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
Aws::MediaConvert::Model::TeletextDestinationSettings::SetPageTypes
void SetPageTypes(Aws::Vector< TeletextPageType > &&value)
Definition: TeletextDestinationSettings.h:146
Aws::MediaConvert::Model::TeletextDestinationSettings::WithPageNumber
TeletextDestinationSettings & WithPageNumber(const Aws::String &value)
Definition: TeletextDestinationSettings.h:93