AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeletionWarning.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApplicationDiscoveryService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning() = default;
36 AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetConfigurationId() const { return m_configurationId; }
46 inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
47 template<typename ConfigurationIdT = Aws::String>
48 void SetConfigurationId(ConfigurationIdT&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::forward<ConfigurationIdT>(value); }
49 template<typename ConfigurationIdT = Aws::String>
50 DeletionWarning& WithConfigurationId(ConfigurationIdT&& value) { SetConfigurationId(std::forward<ConfigurationIdT>(value)); return *this;}
52
54
57 inline int GetWarningCode() const { return m_warningCode; }
58 inline bool WarningCodeHasBeenSet() const { return m_warningCodeHasBeenSet; }
59 inline void SetWarningCode(int value) { m_warningCodeHasBeenSet = true; m_warningCode = value; }
60 inline DeletionWarning& WithWarningCode(int value) { SetWarningCode(value); return *this;}
62
64
68 inline const Aws::String& GetWarningText() const { return m_warningText; }
69 inline bool WarningTextHasBeenSet() const { return m_warningTextHasBeenSet; }
70 template<typename WarningTextT = Aws::String>
71 void SetWarningText(WarningTextT&& value) { m_warningTextHasBeenSet = true; m_warningText = std::forward<WarningTextT>(value); }
72 template<typename WarningTextT = Aws::String>
73 DeletionWarning& WithWarningText(WarningTextT&& value) { SetWarningText(std::forward<WarningTextT>(value)); return *this;}
75 private:
76
77 Aws::String m_configurationId;
78 bool m_configurationIdHasBeenSet = false;
79
80 int m_warningCode{0};
81 bool m_warningCodeHasBeenSet = false;
82
83 Aws::String m_warningText;
84 bool m_warningTextHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ApplicationDiscoveryService
89} // namespace Aws
DeletionWarning & WithConfigurationId(ConfigurationIdT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
DeletionWarning & WithWarningText(WarningTextT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning()=default
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue