7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/organizations/model/EffectivePolicyType.h>
23namespace Organizations
52 inline void SetPolicyContent(
const char* value) { m_policyContentHasBeenSet =
true; m_policyContent.assign(value); }
78 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
98 bool m_policyContentHasBeenSet =
false;
101 bool m_lastUpdatedTimestampHasBeenSet =
false;
104 bool m_targetIdHasBeenSet =
false;
107 bool m_policyTypeHasBeenSet =
false;
EffectivePolicy & WithPolicyType(EffectivePolicyType &&value)
AWS_ORGANIZATIONS_API EffectivePolicy(Aws::Utils::Json::JsonView jsonValue)
EffectivePolicy & WithPolicyType(const EffectivePolicyType &value)
const EffectivePolicyType & GetPolicyType() const
bool LastUpdatedTimestampHasBeenSet() const
void SetTargetId(const Aws::String &value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AWS_ORGANIZATIONS_API EffectivePolicy()
const Aws::String & GetPolicyContent() const
void SetPolicyContent(const char *value)
EffectivePolicy & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
EffectivePolicy & WithPolicyContent(const char *value)
bool PolicyTypeHasBeenSet() const
EffectivePolicy & WithTargetId(Aws::String &&value)
EffectivePolicy & WithPolicyContent(const Aws::String &value)
bool TargetIdHasBeenSet() const
EffectivePolicy & WithTargetId(const Aws::String &value)
void SetPolicyType(const EffectivePolicyType &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
bool PolicyContentHasBeenSet() const
EffectivePolicy & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetTargetId(const char *value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyContent(Aws::String &&value)
EffectivePolicy & WithTargetId(const char *value)
AWS_ORGANIZATIONS_API EffectivePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
EffectivePolicy & WithPolicyContent(Aws::String &&value)
void SetTargetId(Aws::String &&value)
void SetPolicyContent(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
const Aws::String & GetTargetId() const
void SetPolicyType(EffectivePolicyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue