AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
SupplementalDocument.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Invoicing {
21namespace Model {
22
30 public:
31 AWS_INVOICING_API SupplementalDocument() = default;
34 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDocumentUrl() const { return m_documentUrl; }
41 inline bool DocumentUrlHasBeenSet() const { return m_documentUrlHasBeenSet; }
42 template <typename DocumentUrlT = Aws::String>
43 void SetDocumentUrl(DocumentUrlT&& value) {
44 m_documentUrlHasBeenSet = true;
45 m_documentUrl = std::forward<DocumentUrlT>(value);
46 }
47 template <typename DocumentUrlT = Aws::String>
48 SupplementalDocument& WithDocumentUrl(DocumentUrlT&& value) {
49 SetDocumentUrl(std::forward<DocumentUrlT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetDocumentUrlExpirationDate() const { return m_documentUrlExpirationDate; }
59 inline bool DocumentUrlExpirationDateHasBeenSet() const { return m_documentUrlExpirationDateHasBeenSet; }
60 template <typename DocumentUrlExpirationDateT = Aws::Utils::DateTime>
61 void SetDocumentUrlExpirationDate(DocumentUrlExpirationDateT&& value) {
62 m_documentUrlExpirationDateHasBeenSet = true;
63 m_documentUrlExpirationDate = std::forward<DocumentUrlExpirationDateT>(value);
64 }
65 template <typename DocumentUrlExpirationDateT = Aws::Utils::DateTime>
66 SupplementalDocument& WithDocumentUrlExpirationDate(DocumentUrlExpirationDateT&& value) {
67 SetDocumentUrlExpirationDate(std::forward<DocumentUrlExpirationDateT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_documentUrl;
73
74 Aws::Utils::DateTime m_documentUrlExpirationDate{};
75 bool m_documentUrlHasBeenSet = false;
76 bool m_documentUrlExpirationDateHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Invoicing
81} // namespace Aws
AWS_INVOICING_API SupplementalDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentUrlExpirationDate(DocumentUrlExpirationDateT &&value)
AWS_INVOICING_API SupplementalDocument(Aws::Utils::Json::JsonView jsonValue)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
SupplementalDocument & WithDocumentUrl(DocumentUrlT &&value)
AWS_INVOICING_API SupplementalDocument()=default
SupplementalDocument & WithDocumentUrlExpirationDate(DocumentUrlExpirationDateT &&value)
const Aws::Utils::DateTime & GetDocumentUrlExpirationDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue