AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvoiceSummariesSelector.h
1
6#pragma once
7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/invoicing/model/ListInvoiceSummariesResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Invoicing
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_INVOICING_API InvoiceSummariesSelector() = default;
38 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline ListInvoiceSummariesResourceType GetResourceType() const { return m_resourceType; }
47 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
48 inline void SetResourceType(ListInvoiceSummariesResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
51
53
56 inline const Aws::String& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template<typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
60 template<typename ValueT = Aws::String>
61 InvoiceSummariesSelector& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
63 private:
64
66 bool m_resourceTypeHasBeenSet = false;
67
68 Aws::String m_value;
69 bool m_valueHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Invoicing
74} // namespace Aws
AWS_INVOICING_API InvoiceSummariesSelector()=default
InvoiceSummariesSelector & WithValue(ValueT &&value)
InvoiceSummariesSelector & WithResourceType(ListInvoiceSummariesResourceType value)
ListInvoiceSummariesResourceType GetResourceType() const
AWS_INVOICING_API InvoiceSummariesSelector(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ListInvoiceSummariesResourceType value)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INVOICING_API InvoiceSummariesSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue