/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#pragma once
#include  A JSON string which you can use to limit the event bus permissions you are
   * granting to only accounts that fulfill the condition. Currently, the only
   * supported condition is membership in a certain Amazon Web Services organization.
   * The string must contain   Type, Key, and
   * Value fields. The Value field specifies the ID of the
   * Amazon Web Services organization. Following is an example value for
   * Condition:'{"Type" : "StringEquals", "Key":
   * "aws:PrincipalOrgID", "Value": "o-1234567890"}' See Also:
   * AWS
   * API Reference
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the type of condition. Currently the only supported value is
     * StringEquals.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the key for the condition. Currently the only supported key is
     * aws:PrincipalOrgID.
Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline Condition& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline Condition& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Specifies the value for the key. Currently, this must be the ID of the * organization.
*/ inline Condition& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvents } // namespace Aws