AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
R53HostedZoneDeletionState.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/R53HostedZoneDeletionStateCode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lightsail {
21namespace Model {
22
31 public:
32 AWS_LIGHTSAIL_API R53HostedZoneDeletionState() = default;
35 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
46 inline R53HostedZoneDeletionStateCode GetCode() const { return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 m_codeHasBeenSet = true;
50 m_code = value;
51 }
53 SetCode(value);
54 return *this;
55 }
57
59
62 inline const Aws::String& GetMessage() const { return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 template <typename MessageT = Aws::String>
65 void SetMessage(MessageT&& value) {
66 m_messageHasBeenSet = true;
67 m_message = std::forward<MessageT>(value);
68 }
69 template <typename MessageT = Aws::String>
71 SetMessage(std::forward<MessageT>(value));
72 return *this;
73 }
75 private:
77 bool m_codeHasBeenSet = false;
78
79 Aws::String m_message;
80 bool m_messageHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Lightsail
85} // namespace Aws
AWS_LIGHTSAIL_API R53HostedZoneDeletionState()=default
R53HostedZoneDeletionState & WithMessage(MessageT &&value)
R53HostedZoneDeletionState & WithCode(R53HostedZoneDeletionStateCode value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API R53HostedZoneDeletionState(Aws::Utils::Json::JsonView jsonValue)
void SetCode(R53HostedZoneDeletionStateCode value)
AWS_LIGHTSAIL_API R53HostedZoneDeletionState & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue