7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/PolicySourceType.h>
11#include <aws/iam/model/Position.h>
55 inline void SetSourcePolicyId(
const char* value) { m_sourcePolicyIdHasBeenSet =
true; m_sourcePolicyId.assign(value); }
101 bool m_sourcePolicyIdHasBeenSet =
false;
104 bool m_sourcePolicyTypeHasBeenSet =
false;
107 bool m_startPositionHasBeenSet =
false;
110 bool m_endPositionHasBeenSet =
false;
const Position & GetEndPosition() const
void SetSourcePolicyId(const char *value)
void SetSourcePolicyType(PolicySourceType &&value)
bool SourcePolicyTypeHasBeenSet() const
void SetSourcePolicyId(Aws::String &&value)
void SetSourcePolicyType(const PolicySourceType &value)
bool EndPositionHasBeenSet() const
Statement & WithEndPosition(Position &&value)
AWS_IAM_API Statement(const Aws::Utils::Xml::XmlNode &xmlNode)
Statement & WithSourcePolicyType(PolicySourceType &&value)
Statement & WithStartPosition(const Position &value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Statement & WithSourcePolicyId(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Statement & WithSourcePolicyId(const char *value)
Statement & WithEndPosition(const Position &value)
const Aws::String & GetSourcePolicyId() const
bool StartPositionHasBeenSet() const
AWS_IAM_API Statement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const PolicySourceType & GetSourcePolicyType() const
bool SourcePolicyIdHasBeenSet() const
void SetStartPosition(Position &&value)
void SetStartPosition(const Position &value)
Statement & WithSourcePolicyId(Aws::String &&value)
Statement & WithStartPosition(Position &&value)
void SetSourcePolicyId(const Aws::String &value)
void SetEndPosition(const Position &value)
void SetEndPosition(Position &&value)
Statement & WithSourcePolicyType(const PolicySourceType &value)
const Position & GetStartPosition() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream