AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Dimension.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
33 {
34 public:
35 AWS_AGREEMENTSERVICE_API Dimension();
36 AWS_AGREEMENTSERVICE_API Dimension(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API Dimension& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDimensionKey() const{ return m_dimensionKey; }
46 inline bool DimensionKeyHasBeenSet() const { return m_dimensionKeyHasBeenSet; }
47 inline void SetDimensionKey(const Aws::String& value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey = value; }
48 inline void SetDimensionKey(Aws::String&& value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey = std::move(value); }
49 inline void SetDimensionKey(const char* value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey.assign(value); }
50 inline Dimension& WithDimensionKey(const Aws::String& value) { SetDimensionKey(value); return *this;}
51 inline Dimension& WithDimensionKey(Aws::String&& value) { SetDimensionKey(std::move(value)); return *this;}
52 inline Dimension& WithDimensionKey(const char* value) { SetDimensionKey(value); return *this;}
54
56
64 inline int GetDimensionValue() const{ return m_dimensionValue; }
65 inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; }
66 inline void SetDimensionValue(int value) { m_dimensionValueHasBeenSet = true; m_dimensionValue = value; }
67 inline Dimension& WithDimensionValue(int value) { SetDimensionValue(value); return *this;}
69 private:
70
71 Aws::String m_dimensionKey;
72 bool m_dimensionKeyHasBeenSet = false;
73
74 int m_dimensionValue;
75 bool m_dimensionValueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AgreementService
80} // namespace Aws
AWS_AGREEMENTSERVICE_API Dimension()
AWS_AGREEMENTSERVICE_API Dimension & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDimensionKey(const Aws::String &value)
Definition Dimension.h:47
const Aws::String & GetDimensionKey() const
Definition Dimension.h:45
Dimension & WithDimensionKey(const Aws::String &value)
Definition Dimension.h:50
Dimension & WithDimensionKey(const char *value)
Definition Dimension.h:52
AWS_AGREEMENTSERVICE_API Dimension(Aws::Utils::Json::JsonView jsonValue)
Dimension & WithDimensionValue(int value)
Definition Dimension.h:67
void SetDimensionKey(Aws::String &&value)
Definition Dimension.h:48
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Dimension & WithDimensionKey(Aws::String &&value)
Definition Dimension.h:51
void SetDimensionKey(const char *value)
Definition Dimension.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue