/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Chime { namespace Model { /** */ class UpdateAccountRequest : public ChimeRequest { public: AWS_CHIME_API UpdateAccountRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateAccount"; } AWS_CHIME_API Aws::String SerializePayload() const override; /** *

The Amazon Chime account ID.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Chime account ID.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Chime account ID.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Chime account ID.

*/ inline UpdateAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Chime account ID.

*/ inline UpdateAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Chime account ID.

*/ inline UpdateAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The new name for the specified Amazon Chime account.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The new name for the specified Amazon Chime account.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The new name for the specified Amazon Chime account.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The new name for the specified Amazon Chime account.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The new name for the specified Amazon Chime account.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The new name for the specified Amazon Chime account.

*/ inline UpdateAccountRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The new name for the specified Amazon Chime account.

*/ inline UpdateAccountRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The new name for the specified Amazon Chime account.

*/ inline UpdateAccountRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline const License& GetDefaultLicense() const{ return m_defaultLicense; } /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; } /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline void SetDefaultLicense(const License& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; } /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline void SetDefaultLicense(License&& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = std::move(value); } /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline UpdateAccountRequest& WithDefaultLicense(const License& value) { SetDefaultLicense(value); return *this;} /** *

The default license applied when you add users to an Amazon Chime * account.

*/ inline UpdateAccountRequest& WithDefaultLicense(License&& value) { SetDefaultLicense(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; License m_defaultLicense; bool m_defaultLicenseHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws