AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
BudgetDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ServiceCatalog {
20namespace Model {
21
28 public:
29 AWS_SERVICECATALOG_API BudgetDetail() = default;
30 AWS_SERVICECATALOG_API BudgetDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_SERVICECATALOG_API BudgetDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::String& GetBudgetName() const { return m_budgetName; }
39 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
40 template <typename BudgetNameT = Aws::String>
41 void SetBudgetName(BudgetNameT&& value) {
42 m_budgetNameHasBeenSet = true;
43 m_budgetName = std::forward<BudgetNameT>(value);
44 }
45 template <typename BudgetNameT = Aws::String>
46 BudgetDetail& WithBudgetName(BudgetNameT&& value) {
47 SetBudgetName(std::forward<BudgetNameT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_budgetName;
53 bool m_budgetNameHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ServiceCatalog
58} // namespace Aws
void SetBudgetName(BudgetNameT &&value)
AWS_SERVICECATALOG_API BudgetDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetBudgetName() const
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SERVICECATALOG_API BudgetDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
BudgetDetail & WithBudgetName(BudgetNameT &&value)
AWS_SERVICECATALOG_API BudgetDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String