AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OriginDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataExchange
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAEXCHANGE_API OriginDetails();
35 AWS_DATAEXCHANGE_API OriginDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAEXCHANGE_API OriginDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetProductId() const{ return m_productId; }
45 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
46 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
47 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
48 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
49 inline OriginDetails& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
50 inline OriginDetails& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
51 inline OriginDetails& WithProductId(const char* value) { SetProductId(value); return *this;}
53
55
58 inline const Aws::String& GetDataGrantId() const{ return m_dataGrantId; }
59 inline bool DataGrantIdHasBeenSet() const { return m_dataGrantIdHasBeenSet; }
60 inline void SetDataGrantId(const Aws::String& value) { m_dataGrantIdHasBeenSet = true; m_dataGrantId = value; }
61 inline void SetDataGrantId(Aws::String&& value) { m_dataGrantIdHasBeenSet = true; m_dataGrantId = std::move(value); }
62 inline void SetDataGrantId(const char* value) { m_dataGrantIdHasBeenSet = true; m_dataGrantId.assign(value); }
63 inline OriginDetails& WithDataGrantId(const Aws::String& value) { SetDataGrantId(value); return *this;}
64 inline OriginDetails& WithDataGrantId(Aws::String&& value) { SetDataGrantId(std::move(value)); return *this;}
65 inline OriginDetails& WithDataGrantId(const char* value) { SetDataGrantId(value); return *this;}
67 private:
68
69 Aws::String m_productId;
70 bool m_productIdHasBeenSet = false;
71
72 Aws::String m_dataGrantId;
73 bool m_dataGrantIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataExchange
78} // namespace Aws
void SetProductId(const Aws::String &value)
const Aws::String & GetDataGrantId() const
AWS_DATAEXCHANGE_API OriginDetails()
OriginDetails & WithProductId(const Aws::String &value)
void SetDataGrantId(const char *value)
const Aws::String & GetProductId() const
OriginDetails & WithDataGrantId(Aws::String &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API OriginDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataGrantId(const Aws::String &value)
OriginDetails & WithDataGrantId(const Aws::String &value)
void SetProductId(Aws::String &&value)
OriginDetails & WithProductId(Aws::String &&value)
OriginDetails & WithDataGrantId(const char *value)
void SetDataGrantId(Aws::String &&value)
OriginDetails & WithProductId(const char *value)
AWS_DATAEXCHANGE_API OriginDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue