AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Model.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
27class Model {
28 public:
29 AWS_DATAZONE_API Model() = default;
30 AWS_DATAZONE_API Model(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAZONE_API Model& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSmithy() const { return m_smithy; }
39 inline bool SmithyHasBeenSet() const { return m_smithyHasBeenSet; }
40 template <typename SmithyT = Aws::String>
41 void SetSmithy(SmithyT&& value) {
42 m_smithyHasBeenSet = true;
43 m_smithy = std::forward<SmithyT>(value);
44 }
45 template <typename SmithyT = Aws::String>
46 Model& WithSmithy(SmithyT&& value) {
47 SetSmithy(std::forward<SmithyT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_smithy;
53 bool m_smithyHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace DataZone
58} // namespace Aws
Model & WithSmithy(SmithyT &&value)
Definition Model.h:46
AWS_DATAZONE_API Model()=default
AWS_DATAZONE_API Model & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SmithyHasBeenSet() const
Definition Model.h:39
AWS_DATAZONE_API Model(Aws::Utils::Json::JsonView jsonValue)
void SetSmithy(SmithyT &&value)
Definition Model.h:41
const Aws::String & GetSmithy() const
Definition Model.h:38
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue