AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateResourceResponseElement.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 DisassociateResourceResponseElement();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline DisassociateResourceResponseElement& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DisassociateResourceResponseElement& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DisassociateResourceResponseElement& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const AssociateResourceError& GetError() const{ return m_error; }
62 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
63 inline void SetError(const AssociateResourceError& value) { m_errorHasBeenSet = true; m_error = value; }
64 inline void SetError(AssociateResourceError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
66 inline DisassociateResourceResponseElement& WithError(AssociateResourceError&& value) { SetError(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
74 bool m_errorHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace BillingConductor
79} // namespace Aws
DisassociateResourceResponseElement & WithError(AssociateResourceError &&value)
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)
DisassociateResourceResponseElement & WithError(const AssociateResourceError &value)
DisassociateResourceResponseElement & WithArn(Aws::String &&value)
DisassociateResourceResponseElement & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue