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
50 template<
typename PolicyContentT = Aws::String>
51 void SetPolicyContent(PolicyContentT&& value) { m_policyContentHasBeenSet =
true; m_policyContent = std::forward<PolicyContentT>(value); }
52 template<
typename PolicyContentT = Aws::String>
62 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
63 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet =
true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
64 template<
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
74 template<
typename TargetIdT = Aws::String>
75 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet =
true; m_targetId = std::forward<TargetIdT>(value); }
76 template<
typename TargetIdT = Aws::String>
92 bool m_policyContentHasBeenSet =
false;
95 bool m_lastUpdatedTimestampHasBeenSet =
false;
98 bool m_targetIdHasBeenSet =
false;
101 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