AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename TypeT = Aws::String>
61 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
62 template<typename TypeT = Aws::String>
63 DocumentItem& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
65
67
71 inline const Aws::String& GetUrl() const { return m_url; }
72 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
73 template<typename UrlT = Aws::String>
74 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
75 template<typename UrlT = Aws::String>
76 DocumentItem& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
78
80
84 inline const Aws::String& GetVersion() const { return m_version; }
85 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
86 template<typename VersionT = Aws::String>
87 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
88 template<typename VersionT = Aws::String>
89 DocumentItem& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
91 private:
92
93 Aws::String m_type;
94 bool m_typeHasBeenSet = false;
95
96 Aws::String m_url;
97 bool m_urlHasBeenSet = false;
98
99 Aws::String m_version;
100 bool m_versionHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AgreementService
105} // namespace Aws
DocumentItem & WithUrl(UrlT &&value)
AWS_AGREEMENTSERVICE_API DocumentItem()=default
DocumentItem & WithType(TypeT &&value)
AWS_AGREEMENTSERVICE_API DocumentItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
AWS_AGREEMENTSERVICE_API DocumentItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentItem & WithVersion(VersionT &&value)
const Aws::String & GetUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue