AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
48 inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
49 inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
50 inline DeletionWarning& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
51 inline DeletionWarning& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
52 inline DeletionWarning& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
54
56
59 inline int GetWarningCode() const{ return m_warningCode; }
60 inline bool WarningCodeHasBeenSet() const { return m_warningCodeHasBeenSet; }
61 inline void SetWarningCode(int value) { m_warningCodeHasBeenSet = true; m_warningCode = value; }
62 inline DeletionWarning& WithWarningCode(int value) { SetWarningCode(value); return *this;}
64
66
70 inline const Aws::String& GetWarningText() const{ return m_warningText; }
71 inline bool WarningTextHasBeenSet() const { return m_warningTextHasBeenSet; }
72 inline void SetWarningText(const Aws::String& value) { m_warningTextHasBeenSet = true; m_warningText = value; }
73 inline void SetWarningText(Aws::String&& value) { m_warningTextHasBeenSet = true; m_warningText = std::move(value); }
74 inline void SetWarningText(const char* value) { m_warningTextHasBeenSet = true; m_warningText.assign(value); }
75 inline DeletionWarning& WithWarningText(const Aws::String& value) { SetWarningText(value); return *this;}
76 inline DeletionWarning& WithWarningText(Aws::String&& value) { SetWarningText(std::move(value)); return *this;}
77 inline DeletionWarning& WithWarningText(const char* value) { SetWarningText(value); return *this;}
79 private:
80
81 Aws::String m_configurationId;
82 bool m_configurationIdHasBeenSet = false;
83
84 int m_warningCode;
85 bool m_warningCodeHasBeenSet = false;
86
87 Aws::String m_warningText;
88 bool m_warningTextHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ApplicationDiscoveryService
93} // namespace Aws
DeletionWarning & WithConfigurationId(const Aws::String &value)
DeletionWarning & WithConfigurationId(const char *value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DeletionWarning & WithConfigurationId(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning & operator=(Aws::Utils::Json::JsonView jsonValue)
DeletionWarning & WithWarningText(const Aws::String &value)
DeletionWarning & WithWarningText(const char *value)
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning(Aws::Utils::Json::JsonView jsonValue)
DeletionWarning & WithWarningText(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API DeletionWarning()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue