7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamDiscoveryFailureReason.h>
47 template <
typename AccountIdT = Aws::String>
49 m_accountIdHasBeenSet =
true;
50 m_accountId = std::forward<AccountIdT>(value);
52 template <
typename AccountIdT = Aws::String>
67 template <
typename DiscoveryRegionT = Aws::String>
69 m_discoveryRegionHasBeenSet =
true;
70 m_discoveryRegion = std::forward<DiscoveryRegionT>(value);
72 template <
typename DiscoveryRegionT = Aws::String>
85 template <
typename FailureReasonT = IpamDiscoveryFailureReason>
87 m_failureReasonHasBeenSet =
true;
88 m_failureReason = std::forward<FailureReasonT>(value);
90 template <
typename FailureReasonT = IpamDiscoveryFailureReason>
103 template <
typename LastAttemptedDiscoveryTimeT = Aws::Utils::DateTime>
105 m_lastAttemptedDiscoveryTimeHasBeenSet =
true;
106 m_lastAttemptedDiscoveryTime = std::forward<LastAttemptedDiscoveryTimeT>(value);
108 template <
typename LastAttemptedDiscoveryTimeT = Aws::Utils::DateTime>
121 template <
typename LastSuccessfulDiscoveryTimeT = Aws::Utils::DateTime>
123 m_lastSuccessfulDiscoveryTimeHasBeenSet =
true;
124 m_lastSuccessfulDiscoveryTime = std::forward<LastSuccessfulDiscoveryTimeT>(value);
126 template <
typename LastSuccessfulDiscoveryTimeT = Aws::Utils::DateTime>
139 template <
typename OrganizationalUnitIdT = Aws::String>
141 m_organizationalUnitIdHasBeenSet =
true;
142 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
144 template <
typename OrganizationalUnitIdT = Aws::String>
162 bool m_accountIdHasBeenSet =
false;
163 bool m_discoveryRegionHasBeenSet =
false;
164 bool m_failureReasonHasBeenSet =
false;
165 bool m_lastAttemptedDiscoveryTimeHasBeenSet =
false;
166 bool m_lastSuccessfulDiscoveryTimeHasBeenSet =
false;
167 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