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/IpamDiscoveryFailureReason.h>
11#include <aws/core/utils/DateTime.h>
55 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
71 inline void SetDiscoveryRegion(
const char* value) { m_discoveryRegionHasBeenSet =
true; m_discoveryRegion.assign(value); }
115 bool m_accountIdHasBeenSet =
false;
118 bool m_discoveryRegionHasBeenSet =
false;
121 bool m_failureReasonHasBeenSet =
false;
124 bool m_lastAttemptedDiscoveryTimeHasBeenSet =
false;
127 bool m_lastSuccessfulDiscoveryTimeHasBeenSet =
false;
IpamDiscoveredAccount & WithAccountId(const char *value)
void SetFailureReason(IpamDiscoveryFailureReason &&value)
IpamDiscoveredAccount & WithLastAttemptedDiscoveryTime(const Aws::Utils::DateTime &value)
void SetLastAttemptedDiscoveryTime(const Aws::Utils::DateTime &value)
AWS_EC2_API IpamDiscoveredAccount(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastSuccessfulDiscoveryTime(const Aws::Utils::DateTime &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AccountIdHasBeenSet() const
bool FailureReasonHasBeenSet() const
IpamDiscoveredAccount & WithFailureReason(const IpamDiscoveryFailureReason &value)
IpamDiscoveredAccount & WithDiscoveryRegion(Aws::String &&value)
IpamDiscoveredAccount & WithFailureReason(IpamDiscoveryFailureReason &&value)
IpamDiscoveredAccount & WithLastSuccessfulDiscoveryTime(const Aws::Utils::DateTime &value)
void SetLastAttemptedDiscoveryTime(Aws::Utils::DateTime &&value)
AWS_EC2_API IpamDiscoveredAccount()
IpamDiscoveredAccount & WithAccountId(Aws::String &&value)
IpamDiscoveredAccount & WithLastAttemptedDiscoveryTime(Aws::Utils::DateTime &&value)
bool LastAttemptedDiscoveryTimeHasBeenSet() const
void SetFailureReason(const IpamDiscoveryFailureReason &value)
void SetAccountId(const char *value)
IpamDiscoveredAccount & WithLastSuccessfulDiscoveryTime(Aws::Utils::DateTime &&value)
AWS_EC2_API IpamDiscoveredAccount & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDiscoveryRegion(const Aws::String &value)
void SetAccountId(const Aws::String &value)
void SetDiscoveryRegion(Aws::String &&value)
const Aws::Utils::DateTime & GetLastAttemptedDiscoveryTime() const
const Aws::Utils::DateTime & GetLastSuccessfulDiscoveryTime() const
void SetAccountId(Aws::String &&value)
const IpamDiscoveryFailureReason & GetFailureReason() const
IpamDiscoveredAccount & WithDiscoveryRegion(const Aws::String &value)
const Aws::String & GetDiscoveryRegion() const
bool LastSuccessfulDiscoveryTimeHasBeenSet() const
IpamDiscoveredAccount & WithAccountId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DiscoveryRegionHasBeenSet() const
void SetDiscoveryRegion(const char *value)
IpamDiscoveredAccount & WithDiscoveryRegion(const char *value)
const Aws::String & GetAccountId() const
void SetLastSuccessfulDiscoveryTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream