AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Constraints.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 Constraints();
36 AWS_AGREEMENTSERVICE_API Constraints(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API Constraints& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetMultipleDimensionSelection() const{ return m_multipleDimensionSelection; }
48 inline bool MultipleDimensionSelectionHasBeenSet() const { return m_multipleDimensionSelectionHasBeenSet; }
49 inline void SetMultipleDimensionSelection(const Aws::String& value) { m_multipleDimensionSelectionHasBeenSet = true; m_multipleDimensionSelection = value; }
50 inline void SetMultipleDimensionSelection(Aws::String&& value) { m_multipleDimensionSelectionHasBeenSet = true; m_multipleDimensionSelection = std::move(value); }
51 inline void SetMultipleDimensionSelection(const char* value) { m_multipleDimensionSelectionHasBeenSet = true; m_multipleDimensionSelection.assign(value); }
53 inline Constraints& WithMultipleDimensionSelection(Aws::String&& value) { SetMultipleDimensionSelection(std::move(value)); return *this;}
54 inline Constraints& WithMultipleDimensionSelection(const char* value) { SetMultipleDimensionSelection(value); return *this;}
56
58
63 inline const Aws::String& GetQuantityConfiguration() const{ return m_quantityConfiguration; }
64 inline bool QuantityConfigurationHasBeenSet() const { return m_quantityConfigurationHasBeenSet; }
65 inline void SetQuantityConfiguration(const Aws::String& value) { m_quantityConfigurationHasBeenSet = true; m_quantityConfiguration = value; }
66 inline void SetQuantityConfiguration(Aws::String&& value) { m_quantityConfigurationHasBeenSet = true; m_quantityConfiguration = std::move(value); }
67 inline void SetQuantityConfiguration(const char* value) { m_quantityConfigurationHasBeenSet = true; m_quantityConfiguration.assign(value); }
68 inline Constraints& WithQuantityConfiguration(const Aws::String& value) { SetQuantityConfiguration(value); return *this;}
69 inline Constraints& WithQuantityConfiguration(Aws::String&& value) { SetQuantityConfiguration(std::move(value)); return *this;}
70 inline Constraints& WithQuantityConfiguration(const char* value) { SetQuantityConfiguration(value); return *this;}
72 private:
73
74 Aws::String m_multipleDimensionSelection;
75 bool m_multipleDimensionSelectionHasBeenSet = false;
76
77 Aws::String m_quantityConfiguration;
78 bool m_quantityConfigurationHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AgreementService
83} // namespace Aws
AWS_AGREEMENTSERVICE_API Constraints(Aws::Utils::Json::JsonView jsonValue)
void SetQuantityConfiguration(const Aws::String &value)
Definition Constraints.h:65
Constraints & WithMultipleDimensionSelection(const Aws::String &value)
Definition Constraints.h:52
Constraints & WithQuantityConfiguration(const Aws::String &value)
Definition Constraints.h:68
const Aws::String & GetMultipleDimensionSelection() const
Definition Constraints.h:47
Constraints & WithMultipleDimensionSelection(Aws::String &&value)
Definition Constraints.h:53
void SetQuantityConfiguration(const char *value)
Definition Constraints.h:67
Constraints & WithMultipleDimensionSelection(const char *value)
Definition Constraints.h:54
void SetMultipleDimensionSelection(Aws::String &&value)
Definition Constraints.h:50
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Constraints & WithQuantityConfiguration(const char *value)
Definition Constraints.h:70
void SetMultipleDimensionSelection(const char *value)
Definition Constraints.h:51
AWS_AGREEMENTSERVICE_API Constraints()
void SetMultipleDimensionSelection(const Aws::String &value)
Definition Constraints.h:49
AWS_AGREEMENTSERVICE_API Constraints & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuantityConfiguration() const
Definition Constraints.h:63
void SetQuantityConfiguration(Aws::String &&value)
Definition Constraints.h:66
Constraints & WithQuantityConfiguration(Aws::String &&value)
Definition Constraints.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue