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>
53 template<
typename AccountIdT = Aws::String>
54 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
55 template<
typename AccountIdT = Aws::String>
67 template<
typename DiscoveryRegionT = Aws::String>
68 void SetDiscoveryRegion(DiscoveryRegionT&& value) { m_discoveryRegionHasBeenSet =
true; m_discoveryRegion = std::forward<DiscoveryRegionT>(value); }
69 template<
typename DiscoveryRegionT = Aws::String>
79 template<
typename FailureReasonT = IpamDiscoveryFailureReason>
80 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
81 template<
typename FailureReasonT = IpamDiscoveryFailureReason>
91 template<
typename LastAttemptedDiscoveryTimeT = Aws::Utils::DateTime>
92 void SetLastAttemptedDiscoveryTime(LastAttemptedDiscoveryTimeT&& value) { m_lastAttemptedDiscoveryTimeHasBeenSet =
true; m_lastAttemptedDiscoveryTime = std::forward<LastAttemptedDiscoveryTimeT>(value); }
93 template<
typename LastAttemptedDiscoveryTimeT = Aws::Utils::DateTime>
103 template<
typename LastSuccessfulDiscoveryTimeT = Aws::Utils::DateTime>
104 void SetLastSuccessfulDiscoveryTime(LastSuccessfulDiscoveryTimeT&& value) { m_lastSuccessfulDiscoveryTimeHasBeenSet =
true; m_lastSuccessfulDiscoveryTime = std::forward<LastSuccessfulDiscoveryTimeT>(value); }
105 template<
typename LastSuccessfulDiscoveryTimeT = Aws::Utils::DateTime>
115 template<
typename OrganizationalUnitIdT = Aws::String>
116 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet =
true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
117 template<
typename OrganizationalUnitIdT = Aws::String>
123 bool m_accountIdHasBeenSet =
false;
126 bool m_discoveryRegionHasBeenSet =
false;
129 bool m_failureReasonHasBeenSet =
false;
132 bool m_lastAttemptedDiscoveryTimeHasBeenSet =
false;
135 bool m_lastSuccessfulDiscoveryTimeHasBeenSet =
false;
138 bool m_organizationalUnitIdHasBeenSet =
false;
IpamDiscoveredAccount & WithDiscoveryRegion(DiscoveryRegionT &&value)
void SetFailureReason(FailureReasonT &&value)
AWS_EC2_API IpamDiscoveredAccount(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AccountIdHasBeenSet() const
bool FailureReasonHasBeenSet() const
void SetAccountId(AccountIdT &&value)
bool OrganizationalUnitIdHasBeenSet() const
IpamDiscoveredAccount & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
bool LastAttemptedDiscoveryTimeHasBeenSet() const
IpamDiscoveredAccount & WithLastSuccessfulDiscoveryTime(LastSuccessfulDiscoveryTimeT &&value)
AWS_EC2_API IpamDiscoveredAccount & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDiscoveryRegion(DiscoveryRegionT &&value)
AWS_EC2_API IpamDiscoveredAccount()=default
void SetLastSuccessfulDiscoveryTime(LastSuccessfulDiscoveryTimeT &&value)
const Aws::Utils::DateTime & GetLastAttemptedDiscoveryTime() const
const Aws::Utils::DateTime & GetLastSuccessfulDiscoveryTime() const
IpamDiscoveredAccount & WithLastAttemptedDiscoveryTime(LastAttemptedDiscoveryTimeT &&value)
IpamDiscoveredAccount & WithAccountId(AccountIdT &&value)
const IpamDiscoveryFailureReason & GetFailureReason() const
const Aws::String & GetDiscoveryRegion() const
bool LastSuccessfulDiscoveryTimeHasBeenSet() const
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
const Aws::String & GetOrganizationalUnitId() const
IpamDiscoveredAccount & WithFailureReason(FailureReasonT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DiscoveryRegionHasBeenSet() const
const Aws::String & GetAccountId() const
void SetLastAttemptedDiscoveryTime(LastAttemptedDiscoveryTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream