/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the parameters to the
* UpdateServiceAccessPolicies
operation. Specifies the name of
* the domain you want to update and the access rules you want to
* configure.See Also:
AWS
* API Reference
The access rules you want to configure. These rules replace any existing * rules.
*/ inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; } /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; } /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; } /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); } /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); } /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline UpdateServiceAccessPoliciesRequest& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;} /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline UpdateServiceAccessPoliciesRequest& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;} /** *The access rules you want to configure. These rules replace any existing * rules.
*/ inline UpdateServiceAccessPoliciesRequest& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_accessPolicies; bool m_accessPoliciesHasBeenSet = false; }; } // namespace Model } // namespace CloudSearch } // namespace Aws