7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/marketplace-agreement/model/DocumentItem.h>
23namespace AgreementService
50 template<
typename DocumentsT = Aws::Vector<DocumentItem>>
51 void SetDocuments(DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents = std::forward<DocumentsT>(value); }
52 template<
typename DocumentsT = Aws::Vector<DocumentItem>>
54 template<
typename DocumentsT = DocumentItem>
55 LegalTerm&
AddDocuments(DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents.emplace_back(std::forward<DocumentsT>(value));
return *
this; }
64 template<
typename TypeT = Aws::String>
65 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
66 template<
typename TypeT = Aws::String>
72 bool m_documentsHasBeenSet =
false;
75 bool m_typeHasBeenSet =
false;
const Aws::String & GetType() const
bool DocumentsHasBeenSet() const
LegalTerm & AddDocuments(DocumentsT &&value)
bool TypeHasBeenSet() const
AWS_AGREEMENTSERVICE_API LegalTerm()=default
AWS_AGREEMENTSERVICE_API LegalTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDocuments(DocumentsT &&value)
LegalTerm & WithDocuments(DocumentsT &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LegalTerm & WithType(TypeT &&value)
AWS_AGREEMENTSERVICE_API LegalTerm(Aws::Utils::Json::JsonView jsonValue)
void SetType(TypeT &&value)
const Aws::Vector< DocumentItem > & GetDocuments() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue