AWS SDK for C++

AWS SDK for C++ Version 1.11.895

Loading...
Searching...
No Matches
QuoteConstraint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/outposts/Outposts_EXPORTS.h>
9#include <aws/outposts/model/QuoteConstraintType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Outposts {
21namespace Model {
22
29 public:
30 AWS_OUTPOSTS_API QuoteConstraint() = default;
31 AWS_OUTPOSTS_API QuoteConstraint(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline QuoteConstraintType GetQuoteConstraintType() const { return m_quoteConstraintType; }
42 inline bool QuoteConstraintTypeHasBeenSet() const { return m_quoteConstraintTypeHasBeenSet; }
44 m_quoteConstraintTypeHasBeenSet = true;
45 m_quoteConstraintType = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetValue() const { return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 template <typename ValueT = Aws::String>
60 void SetValue(ValueT&& value) {
61 m_valueHasBeenSet = true;
62 m_value = std::forward<ValueT>(value);
63 }
64 template <typename ValueT = Aws::String>
65 QuoteConstraint& WithValue(ValueT&& value) {
66 SetValue(std::forward<ValueT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::String m_value;
74 bool m_quoteConstraintTypeHasBeenSet = false;
75 bool m_valueHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Outposts
80} // namespace Aws
const Aws::String & GetValue() const
void SetQuoteConstraintType(QuoteConstraintType value)
AWS_OUTPOSTS_API QuoteConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
QuoteConstraintType GetQuoteConstraintType() const
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
QuoteConstraint & WithValue(ValueT &&value)
AWS_OUTPOSTS_API QuoteConstraint()=default
QuoteConstraint & WithQuoteConstraintType(QuoteConstraintType value)
AWS_OUTPOSTS_API QuoteConstraint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue