1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/chime/Chime_EXPORTS.h> 8 #include <aws/chime/ChimeRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/chime/model/AccountSettings.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 namespace Chime 16 { 17 namespace Model 18 { 19 20 /** 21 */ 22 class AWS_CHIME_API UpdateAccountSettingsRequest : public ChimeRequest 23 { 24 public: 25 UpdateAccountSettingsRequest(); 26 27 // Service request name is the Operation name which will send this request out, 28 // each operation should has unique request name, so that we can get operation's name from this request. 29 // Note: this is not true for response, multiple operations may have the same response name, 30 // so we can not get operation's name from response. GetServiceRequestName()31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; } 32 33 Aws::String SerializePayload() const override; 34 35 36 /** 37 * <p>The Amazon Chime account ID.</p> 38 */ GetAccountId()39 inline const Aws::String& GetAccountId() const{ return m_accountId; } 40 41 /** 42 * <p>The Amazon Chime account ID.</p> 43 */ AccountIdHasBeenSet()44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } 45 46 /** 47 * <p>The Amazon Chime account ID.</p> 48 */ SetAccountId(const Aws::String & value)49 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } 50 51 /** 52 * <p>The Amazon Chime account ID.</p> 53 */ SetAccountId(Aws::String && value)54 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } 55 56 /** 57 * <p>The Amazon Chime account ID.</p> 58 */ SetAccountId(const char * value)59 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } 60 61 /** 62 * <p>The Amazon Chime account ID.</p> 63 */ WithAccountId(const Aws::String & value)64 inline UpdateAccountSettingsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} 65 66 /** 67 * <p>The Amazon Chime account ID.</p> 68 */ WithAccountId(Aws::String && value)69 inline UpdateAccountSettingsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} 70 71 /** 72 * <p>The Amazon Chime account ID.</p> 73 */ WithAccountId(const char * value)74 inline UpdateAccountSettingsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} 75 76 77 /** 78 * <p>The Amazon Chime account settings to update.</p> 79 */ GetAccountSettings()80 inline const AccountSettings& GetAccountSettings() const{ return m_accountSettings; } 81 82 /** 83 * <p>The Amazon Chime account settings to update.</p> 84 */ AccountSettingsHasBeenSet()85 inline bool AccountSettingsHasBeenSet() const { return m_accountSettingsHasBeenSet; } 86 87 /** 88 * <p>The Amazon Chime account settings to update.</p> 89 */ SetAccountSettings(const AccountSettings & value)90 inline void SetAccountSettings(const AccountSettings& value) { m_accountSettingsHasBeenSet = true; m_accountSettings = value; } 91 92 /** 93 * <p>The Amazon Chime account settings to update.</p> 94 */ SetAccountSettings(AccountSettings && value)95 inline void SetAccountSettings(AccountSettings&& value) { m_accountSettingsHasBeenSet = true; m_accountSettings = std::move(value); } 96 97 /** 98 * <p>The Amazon Chime account settings to update.</p> 99 */ WithAccountSettings(const AccountSettings & value)100 inline UpdateAccountSettingsRequest& WithAccountSettings(const AccountSettings& value) { SetAccountSettings(value); return *this;} 101 102 /** 103 * <p>The Amazon Chime account settings to update.</p> 104 */ WithAccountSettings(AccountSettings && value)105 inline UpdateAccountSettingsRequest& WithAccountSettings(AccountSettings&& value) { SetAccountSettings(std::move(value)); return *this;} 106 107 private: 108 109 Aws::String m_accountId; 110 bool m_accountIdHasBeenSet; 111 112 AccountSettings m_accountSettings; 113 bool m_accountSettingsHasBeenSet; 114 }; 115 116 } // namespace Model 117 } // namespace Chime 118 } // namespace Aws 119