7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/NetworkInterfacePermissionStateCode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
72 bool m_stateHasBeenSet =
false;
75 bool m_statusMessageHasBeenSet =
false;
void SetStatusMessage(Aws::String &&value)
const NetworkInterfacePermissionStateCode & GetState() const
NetworkInterfacePermissionState & WithStatusMessage(Aws::String &&value)
NetworkInterfacePermissionState & WithStatusMessage(const char *value)
void SetState(NetworkInterfacePermissionStateCode &&value)
AWS_EC2_API NetworkInterfacePermissionState()
NetworkInterfacePermissionState & WithState(const NetworkInterfacePermissionStateCode &value)
void SetState(const NetworkInterfacePermissionStateCode &value)
AWS_EC2_API NetworkInterfacePermissionState(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetStatusMessage() const
bool StatusMessageHasBeenSet() const
void SetStatusMessage(const char *value)
bool StateHasBeenSet() const
NetworkInterfacePermissionState & WithStatusMessage(const Aws::String &value)
AWS_EC2_API NetworkInterfacePermissionState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatusMessage(const Aws::String &value)
NetworkInterfacePermissionState & WithState(NetworkInterfacePermissionStateCode &&value)
NetworkInterfacePermissionStateCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream