AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
DisassociateResourceResponseElement.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/AssociateResourceError.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BillingConductor {
21namespace Model {
22
30 public:
31 AWS_BILLINGCONDUCTOR_API DisassociateResourceResponseElement() = default;
34 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
59 inline const AssociateResourceError& GetError() const { return m_error; }
60 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
61 template <typename ErrorT = AssociateResourceError>
62 void SetError(ErrorT&& value) {
63 m_errorHasBeenSet = true;
64 m_error = std::forward<ErrorT>(value);
65 }
66 template <typename ErrorT = AssociateResourceError>
68 SetError(std::forward<ErrorT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_arn;
74
76 bool m_arnHasBeenSet = false;
77 bool m_errorHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BillingConductor
82} // namespace Aws
AWS_BILLINGCONDUCTOR_API DisassociateResourceResponseElement()=default
AWS_BILLINGCONDUCTOR_API DisassociateResourceResponseElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLINGCONDUCTOR_API DisassociateResourceResponseElement(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue