AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RateCardItem.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 RateCardItem();
36 AWS_AGREEMENTSERVICE_API RateCardItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API RateCardItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetDimensionKey() const{ return m_dimensionKey; }
48 inline bool DimensionKeyHasBeenSet() const { return m_dimensionKeyHasBeenSet; }
49 inline void SetDimensionKey(const Aws::String& value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey = value; }
50 inline void SetDimensionKey(Aws::String&& value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey = std::move(value); }
51 inline void SetDimensionKey(const char* value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey.assign(value); }
52 inline RateCardItem& WithDimensionKey(const Aws::String& value) { SetDimensionKey(value); return *this;}
53 inline RateCardItem& WithDimensionKey(Aws::String&& value) { SetDimensionKey(std::move(value)); return *this;}
54 inline RateCardItem& WithDimensionKey(const char* value) { SetDimensionKey(value); return *this;}
56
58
62 inline const Aws::String& GetPrice() const{ return m_price; }
63 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
64 inline void SetPrice(const Aws::String& value) { m_priceHasBeenSet = true; m_price = value; }
65 inline void SetPrice(Aws::String&& value) { m_priceHasBeenSet = true; m_price = std::move(value); }
66 inline void SetPrice(const char* value) { m_priceHasBeenSet = true; m_price.assign(value); }
67 inline RateCardItem& WithPrice(const Aws::String& value) { SetPrice(value); return *this;}
68 inline RateCardItem& WithPrice(Aws::String&& value) { SetPrice(std::move(value)); return *this;}
69 inline RateCardItem& WithPrice(const char* value) { SetPrice(value); return *this;}
71 private:
72
73 Aws::String m_dimensionKey;
74 bool m_dimensionKeyHasBeenSet = false;
75
76 Aws::String m_price;
77 bool m_priceHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AgreementService
82} // namespace Aws
const Aws::String & GetPrice() const
void SetDimensionKey(Aws::String &&value)
RateCardItem & WithDimensionKey(const char *value)
AWS_AGREEMENTSERVICE_API RateCardItem(Aws::Utils::Json::JsonView jsonValue)
RateCardItem & WithDimensionKey(const Aws::String &value)
const Aws::String & GetDimensionKey() const
RateCardItem & WithPrice(Aws::String &&value)
AWS_AGREEMENTSERVICE_API RateCardItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RateCardItem & WithDimensionKey(Aws::String &&value)
void SetDimensionKey(const Aws::String &value)
RateCardItem & WithPrice(const Aws::String &value)
RateCardItem & WithPrice(const char *value)
void SetPrice(const Aws::String &value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGREEMENTSERVICE_API RateCardItem()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue