AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidNetworkSettings.h
1
6#pragma once
7#include <aws/fsx/FSx_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 FSx
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetMessage() const{ return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
49 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
50 inline InvalidNetworkSettings& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline InvalidNetworkSettings& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline InvalidNetworkSettings& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
59 inline const Aws::String& GetInvalidSubnetId() const{ return m_invalidSubnetId; }
60 inline bool InvalidSubnetIdHasBeenSet() const { return m_invalidSubnetIdHasBeenSet; }
61 inline void SetInvalidSubnetId(const Aws::String& value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId = value; }
62 inline void SetInvalidSubnetId(Aws::String&& value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId = std::move(value); }
63 inline void SetInvalidSubnetId(const char* value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId.assign(value); }
64 inline InvalidNetworkSettings& WithInvalidSubnetId(const Aws::String& value) { SetInvalidSubnetId(value); return *this;}
65 inline InvalidNetworkSettings& WithInvalidSubnetId(Aws::String&& value) { SetInvalidSubnetId(std::move(value)); return *this;}
66 inline InvalidNetworkSettings& WithInvalidSubnetId(const char* value) { SetInvalidSubnetId(value); return *this;}
68
70
73 inline const Aws::String& GetInvalidSecurityGroupId() const{ return m_invalidSecurityGroupId; }
74 inline bool InvalidSecurityGroupIdHasBeenSet() const { return m_invalidSecurityGroupIdHasBeenSet; }
75 inline void SetInvalidSecurityGroupId(const Aws::String& value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId = value; }
76 inline void SetInvalidSecurityGroupId(Aws::String&& value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId = std::move(value); }
77 inline void SetInvalidSecurityGroupId(const char* value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId.assign(value); }
80 inline InvalidNetworkSettings& WithInvalidSecurityGroupId(const char* value) { SetInvalidSecurityGroupId(value); return *this;}
82
84
87 inline const Aws::String& GetInvalidRouteTableId() const{ return m_invalidRouteTableId; }
88 inline bool InvalidRouteTableIdHasBeenSet() const { return m_invalidRouteTableIdHasBeenSet; }
89 inline void SetInvalidRouteTableId(const Aws::String& value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId = value; }
90 inline void SetInvalidRouteTableId(Aws::String&& value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId = std::move(value); }
91 inline void SetInvalidRouteTableId(const char* value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId.assign(value); }
93 inline InvalidNetworkSettings& WithInvalidRouteTableId(Aws::String&& value) { SetInvalidRouteTableId(std::move(value)); return *this;}
94 inline InvalidNetworkSettings& WithInvalidRouteTableId(const char* value) { SetInvalidRouteTableId(value); return *this;}
96 private:
97
98 Aws::String m_message;
99 bool m_messageHasBeenSet = false;
100
101 Aws::String m_invalidSubnetId;
102 bool m_invalidSubnetIdHasBeenSet = false;
103
104 Aws::String m_invalidSecurityGroupId;
105 bool m_invalidSecurityGroupIdHasBeenSet = false;
106
107 Aws::String m_invalidRouteTableId;
108 bool m_invalidRouteTableIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace FSx
113} // namespace Aws
InvalidNetworkSettings & WithInvalidSecurityGroupId(const char *value)
InvalidNetworkSettings & WithInvalidSubnetId(Aws::String &&value)
AWS_FSX_API InvalidNetworkSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidNetworkSettings & WithInvalidRouteTableId(const char *value)
InvalidNetworkSettings & WithInvalidSecurityGroupId(const Aws::String &value)
const Aws::String & GetInvalidSecurityGroupId() const
InvalidNetworkSettings & WithInvalidSecurityGroupId(Aws::String &&value)
InvalidNetworkSettings & WithInvalidRouteTableId(Aws::String &&value)
void SetInvalidSubnetId(const Aws::String &value)
InvalidNetworkSettings & WithMessage(Aws::String &&value)
void SetInvalidSecurityGroupId(Aws::String &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
InvalidNetworkSettings & WithMessage(const char *value)
const Aws::String & GetInvalidRouteTableId() const
InvalidNetworkSettings & WithInvalidRouteTableId(const Aws::String &value)
void SetInvalidSecurityGroupId(const Aws::String &value)
InvalidNetworkSettings & WithInvalidSubnetId(const char *value)
InvalidNetworkSettings & WithMessage(const Aws::String &value)
InvalidNetworkSettings & WithInvalidSubnetId(const Aws::String &value)
AWS_FSX_API InvalidNetworkSettings(Aws::Utils::Json::JsonView jsonValue)
void SetInvalidRouteTableId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue