AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssociateResourceResponseElement.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billingconductor/model/AssociateResourceError.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BillingConductor
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BILLINGCONDUCTOR_API AssociateResourceResponseElement() = default;
39 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 AssociateResourceResponseElement& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
63 template<typename ErrorT = AssociateResourceError>
64 AssociateResourceResponseElement& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
66 private:
67
68 Aws::String m_arn;
69 bool m_arnHasBeenSet = false;
70
72 bool m_errorHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BillingConductor
77} // namespace Aws
AWS_BILLINGCONDUCTOR_API AssociateResourceResponseElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLINGCONDUCTOR_API AssociateResourceResponseElement()=default
AWS_BILLINGCONDUCTOR_API AssociateResourceResponseElement(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue