AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
R53HostedZoneDeletionState.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/R53HostedZoneDeletionStateCode.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Lightsail
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LIGHTSAIL_API R53HostedZoneDeletionState();
40 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const R53HostedZoneDeletionStateCode& GetCode() const{ return m_code; }
53 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
54 inline void SetCode(const R53HostedZoneDeletionStateCode& value) { m_codeHasBeenSet = true; m_code = value; }
55 inline void SetCode(R53HostedZoneDeletionStateCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
56 inline R53HostedZoneDeletionState& WithCode(const R53HostedZoneDeletionStateCode& value) { SetCode(value); return *this;}
57 inline R53HostedZoneDeletionState& WithCode(R53HostedZoneDeletionStateCode&& value) { SetCode(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetMessage() const{ return m_message; }
65 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
66 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
67 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
68 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
69 inline R53HostedZoneDeletionState& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
70 inline R53HostedZoneDeletionState& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
71 inline R53HostedZoneDeletionState& WithMessage(const char* value) { SetMessage(value); return *this;}
73 private:
74
76 bool m_codeHasBeenSet = false;
77
78 Aws::String m_message;
79 bool m_messageHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Lightsail
84} // namespace Aws
R53HostedZoneDeletionState & WithMessage(const Aws::String &value)
R53HostedZoneDeletionState & WithCode(const R53HostedZoneDeletionStateCode &value)
R53HostedZoneDeletionState & WithMessage(const char *value)
R53HostedZoneDeletionState & WithMessage(Aws::String &&value)
void SetCode(R53HostedZoneDeletionStateCode &&value)
const R53HostedZoneDeletionStateCode & GetCode() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API R53HostedZoneDeletionState(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API R53HostedZoneDeletionState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(const R53HostedZoneDeletionStateCode &value)
R53HostedZoneDeletionState & WithCode(R53HostedZoneDeletionStateCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue