AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataTransferApi.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/DataTransferApiType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API DataTransferApi();
37 AWS_APPFLOW_API DataTransferApi(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DataTransferApi& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DataTransferApi& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DataTransferApi& WithName(const char* value) { SetName(value); return *this;}
55
57
66 inline const DataTransferApiType& GetType() const{ return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(const DataTransferApiType& value) { m_typeHasBeenSet = true; m_type = value; }
69 inline void SetType(DataTransferApiType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 inline DataTransferApi& WithType(const DataTransferApiType& value) { SetType(value); return *this;}
71 inline DataTransferApi& WithType(DataTransferApiType&& value) { SetType(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
79 bool m_typeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Appflow
84} // namespace Aws
const Aws::String & GetName() const
DataTransferApi & WithName(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API DataTransferApi(Aws::Utils::Json::JsonView jsonValue)
void SetType(const DataTransferApiType &value)
DataTransferApi & WithName(Aws::String &&value)
DataTransferApi & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
const DataTransferApiType & GetType() const
void SetType(DataTransferApiType &&value)
AWS_APPFLOW_API DataTransferApi & operator=(Aws::Utils::Json::JsonView jsonValue)
DataTransferApi & WithType(DataTransferApiType &&value)
void SetName(Aws::String &&value)
DataTransferApi & WithType(const DataTransferApiType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue