AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentItem.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_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 AgreementService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_AGREEMENTSERVICE_API DocumentItem();
37 AWS_AGREEMENTSERVICE_API DocumentItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API DocumentItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
58 inline const Aws::String& GetType() const{ return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
61 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
63 inline DocumentItem& WithType(const Aws::String& value) { SetType(value); return *this;}
64 inline DocumentItem& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
65 inline DocumentItem& WithType(const char* value) { SetType(value); return *this;}
67
69
73 inline const Aws::String& GetUrl() const{ return m_url; }
74 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
75 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
76 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
77 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
78 inline DocumentItem& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
79 inline DocumentItem& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
80 inline DocumentItem& WithUrl(const char* value) { SetUrl(value); return *this;}
82
84
88 inline const Aws::String& GetVersion() const{ return m_version; }
89 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
90 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
91 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
92 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
93 inline DocumentItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
94 inline DocumentItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
95 inline DocumentItem& WithVersion(const char* value) { SetVersion(value); return *this;}
97 private:
98
99 Aws::String m_type;
100 bool m_typeHasBeenSet = false;
101
102 Aws::String m_url;
103 bool m_urlHasBeenSet = false;
104
105 Aws::String m_version;
106 bool m_versionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AgreementService
111} // namespace Aws
void SetType(const Aws::String &value)
DocumentItem & WithVersion(const char *value)
DocumentItem & WithVersion(const Aws::String &value)
AWS_AGREEMENTSERVICE_API DocumentItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
DocumentItem & WithType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API DocumentItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(const Aws::String &value)
DocumentItem & WithVersion(Aws::String &&value)
AWS_AGREEMENTSERVICE_API DocumentItem()
DocumentItem & WithType(const char *value)
DocumentItem & WithUrl(const char *value)
const Aws::String & GetVersion() const
void SetUrl(const Aws::String &value)
DocumentItem & WithUrl(const Aws::String &value)
DocumentItem & WithUrl(Aws::String &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUrl() const
DocumentItem & WithType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue