7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/InterfacePermissionType.h>
11#include <aws/ec2/model/NetworkInterfacePermissionState.h>
66 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
80 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
94 inline void SetAwsService(
const char* value) { m_awsServiceHasBeenSet =
true; m_awsService.assign(value); }
126 bool m_networkInterfacePermissionIdHasBeenSet =
false;
129 bool m_networkInterfaceIdHasBeenSet =
false;
132 bool m_awsAccountIdHasBeenSet =
false;
135 bool m_awsServiceHasBeenSet =
false;
138 bool m_permissionHasBeenSet =
false;
141 bool m_permissionStateHasBeenSet =
false;
NetworkInterfacePermission & WithAwsAccountId(Aws::String &&value)
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterfacePermission & WithNetworkInterfacePermissionId(const char *value)
void SetPermission(InterfacePermissionType &&value)
void SetAwsService(const Aws::String &value)
NetworkInterfacePermission & WithAwsAccountId(const char *value)
void SetNetworkInterfaceId(const char *value)
void SetAwsService(const char *value)
const Aws::String & GetAwsAccountId() const
NetworkInterfacePermission & WithNetworkInterfaceId(const Aws::String &value)
bool AwsAccountIdHasBeenSet() const
NetworkInterfacePermission & WithPermissionState(const NetworkInterfacePermissionState &value)
void SetNetworkInterfacePermissionId(Aws::String &&value)
const InterfacePermissionType & GetPermission() const
bool NetworkInterfacePermissionIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInterfacePermission & WithAwsService(const Aws::String &value)
NetworkInterfacePermission & WithPermissionState(NetworkInterfacePermissionState &&value)
bool PermissionHasBeenSet() const
bool NetworkInterfaceIdHasBeenSet() const
void SetNetworkInterfacePermissionId(const Aws::String &value)
NetworkInterfacePermission & WithNetworkInterfaceId(const char *value)
const Aws::String & GetNetworkInterfacePermissionId() const
NetworkInterfacePermission & WithNetworkInterfacePermissionId(Aws::String &&value)
void SetAwsService(Aws::String &&value)
void SetPermission(const InterfacePermissionType &value)
NetworkInterfacePermission & WithAwsService(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API NetworkInterfacePermission()
NetworkInterfacePermission & WithAwsService(const char *value)
NetworkInterfacePermission & WithNetworkInterfaceId(Aws::String &&value)
void SetPermissionState(const NetworkInterfacePermissionState &value)
NetworkInterfacePermission & WithPermission(InterfacePermissionType &&value)
const Aws::String & GetNetworkInterfaceId() const
const Aws::String & GetAwsService() const
void SetAwsAccountId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkInterfacePermission & WithPermission(const InterfacePermissionType &value)
bool AwsServiceHasBeenSet() const
AWS_EC2_API NetworkInterfacePermission & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAwsAccountId(const char *value)
void SetNetworkInterfacePermissionId(const char *value)
const NetworkInterfacePermissionState & GetPermissionState() const
NetworkInterfacePermission & WithAwsAccountId(const Aws::String &value)
bool PermissionStateHasBeenSet() const
NetworkInterfacePermission & WithNetworkInterfacePermissionId(const Aws::String &value)
void SetPermissionState(NetworkInterfacePermissionState &&value)
AWS_EC2_API NetworkInterfacePermission(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAwsAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream