7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
10#include <aws/organizations/model/EffectivePolicyType.h>
21namespace Organizations {
44 template <
typename PolicyContentT = Aws::String>
46 m_policyContentHasBeenSet =
true;
47 m_policyContent = std::forward<PolicyContentT>(value);
49 template <
typename PolicyContentT = Aws::String>
62 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
64 m_lastUpdatedTimestampHasBeenSet =
true;
65 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
67 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
80 template <
typename TargetIdT = Aws::String>
82 m_targetIdHasBeenSet =
true;
83 m_targetId = std::forward<TargetIdT>(value);
85 template <
typename TargetIdT = Aws::String>
99 m_policyTypeHasBeenSet =
true;
100 m_policyType = value;
115 bool m_policyContentHasBeenSet =
false;
116 bool m_lastUpdatedTimestampHasBeenSet =
false;
117 bool m_targetIdHasBeenSet =
false;
118 bool m_policyTypeHasBeenSet =
false;
AWS_ORGANIZATIONS_API EffectivePolicy(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdatedTimestampHasBeenSet() const
EffectivePolicy & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetPolicyType(EffectivePolicyType value)
EffectivePolicy & WithTargetId(TargetIdT &&value)
const Aws::String & GetPolicyContent() const
void SetTargetId(TargetIdT &&value)
EffectivePolicy & WithPolicyType(EffectivePolicyType value)
bool PolicyTypeHasBeenSet() const
EffectivePolicyType GetPolicyType() const
bool TargetIdHasBeenSet() const
bool PolicyContentHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyContent(PolicyContentT &&value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
AWS_ORGANIZATIONS_API EffectivePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
EffectivePolicy & WithPolicyContent(PolicyContentT &&value)
const Aws::String & GetTargetId() const
AWS_ORGANIZATIONS_API EffectivePolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue