AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoryProperties.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/transcribe/model/InputType.h>
12#include <aws/transcribe/model/Rule.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace TranscribeService
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_TRANSCRIBESERVICE_API CategoryProperties();
41 AWS_TRANSCRIBESERVICE_API CategoryProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_TRANSCRIBESERVICE_API CategoryProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetCategoryName() const{ return m_categoryName; }
52 inline bool CategoryNameHasBeenSet() const { return m_categoryNameHasBeenSet; }
53 inline void SetCategoryName(const Aws::String& value) { m_categoryNameHasBeenSet = true; m_categoryName = value; }
54 inline void SetCategoryName(Aws::String&& value) { m_categoryNameHasBeenSet = true; m_categoryName = std::move(value); }
55 inline void SetCategoryName(const char* value) { m_categoryNameHasBeenSet = true; m_categoryName.assign(value); }
56 inline CategoryProperties& WithCategoryName(const Aws::String& value) { SetCategoryName(value); return *this;}
57 inline CategoryProperties& WithCategoryName(Aws::String&& value) { SetCategoryName(std::move(value)); return *this;}
58 inline CategoryProperties& WithCategoryName(const char* value) { SetCategoryName(value); return *this;}
60
62
66 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
67 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
68 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
69 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
70 inline CategoryProperties& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
71 inline CategoryProperties& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
72 inline CategoryProperties& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
73 inline CategoryProperties& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
75
77
83 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
84 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
85 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
86 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
87 inline CategoryProperties& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
88 inline CategoryProperties& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
90
92
98 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
99 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
100 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
101 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
103 inline CategoryProperties& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
105
107
113 inline const InputType& GetInputType() const{ return m_inputType; }
114 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
115 inline void SetInputType(const InputType& value) { m_inputTypeHasBeenSet = true; m_inputType = value; }
116 inline void SetInputType(InputType&& value) { m_inputTypeHasBeenSet = true; m_inputType = std::move(value); }
117 inline CategoryProperties& WithInputType(const InputType& value) { SetInputType(value); return *this;}
118 inline CategoryProperties& WithInputType(InputType&& value) { SetInputType(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_categoryName;
123 bool m_categoryNameHasBeenSet = false;
124
125 Aws::Vector<Rule> m_rules;
126 bool m_rulesHasBeenSet = false;
127
128 Aws::Utils::DateTime m_createTime;
129 bool m_createTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastUpdateTime;
132 bool m_lastUpdateTimeHasBeenSet = false;
133
134 InputType m_inputType;
135 bool m_inputTypeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace TranscribeService
140} // namespace Aws
CategoryProperties & WithLastUpdateTime(const Aws::Utils::DateTime &value)
CategoryProperties & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
CategoryProperties & AddRules(const Rule &value)
CategoryProperties & WithCreateTime(Aws::Utils::DateTime &&value)
CategoryProperties & WithInputType(const InputType &value)
CategoryProperties & WithRules(const Aws::Vector< Rule > &value)
CategoryProperties & WithCreateTime(const Aws::Utils::DateTime &value)
CategoryProperties & WithRules(Aws::Vector< Rule > &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_TRANSCRIBESERVICE_API CategoryProperties()
const Aws::Vector< Rule > & GetRules() const
const Aws::Utils::DateTime & GetCreateTime() const
CategoryProperties & WithCategoryName(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetRules(const Aws::Vector< Rule > &value)
AWS_TRANSCRIBESERVICE_API CategoryProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CategoryProperties & WithCategoryName(const char *value)
CategoryProperties & WithCategoryName(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
AWS_TRANSCRIBESERVICE_API CategoryProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
CategoryProperties & WithInputType(InputType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue