AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Expression.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/DimensionValues.h>
9#include <aws/billing/model/TagValues.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 Billing
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BILLING_API Expression() = default;
39 AWS_BILLING_API Expression(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BILLING_API Expression& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DimensionValues& GetDimensions() const { return m_dimensions; }
49 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
50 template<typename DimensionsT = DimensionValues>
51 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::forward<DimensionsT>(value); }
52 template<typename DimensionsT = DimensionValues>
53 Expression& WithDimensions(DimensionsT&& value) { SetDimensions(std::forward<DimensionsT>(value)); return *this;}
55
57
60 inline const TagValues& GetTags() const { return m_tags; }
61 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
62 template<typename TagsT = TagValues>
63 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
64 template<typename TagsT = TagValues>
65 Expression& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
67 private:
68
69 DimensionValues m_dimensions;
70 bool m_dimensionsHasBeenSet = false;
71
72 TagValues m_tags;
73 bool m_tagsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Billing
78} // namespace Aws
void SetDimensions(DimensionsT &&value)
Definition Expression.h:51
Expression & WithDimensions(DimensionsT &&value)
Definition Expression.h:53
AWS_BILLING_API Expression()=default
Expression & WithTags(TagsT &&value)
Definition Expression.h:65
AWS_BILLING_API Expression(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLING_API Expression & operator=(Aws::Utils::Json::JsonView jsonValue)
const DimensionValues & GetDimensions() const
Definition Expression.h:48
const TagValues & GetTags() const
Definition Expression.h:60
void SetTags(TagsT &&value)
Definition Expression.h:63
Aws::Utils::Json::JsonValue JsonValue