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 <utility> 11 12 namespace Aws 13 { 14 namespace Chime 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_CHIME_API RegenerateSecurityTokenRequest : public ChimeRequest 22 { 23 public: 24 RegenerateSecurityTokenRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "RegenerateSecurityToken"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The Amazon Chime account ID.</p> 37 */ GetAccountId()38 inline const Aws::String& GetAccountId() const{ return m_accountId; } 39 40 /** 41 * <p>The Amazon Chime account ID.</p> 42 */ AccountIdHasBeenSet()43 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } 44 45 /** 46 * <p>The Amazon Chime account ID.</p> 47 */ SetAccountId(const Aws::String & value)48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } 49 50 /** 51 * <p>The Amazon Chime account ID.</p> 52 */ SetAccountId(Aws::String && value)53 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } 54 55 /** 56 * <p>The Amazon Chime account ID.</p> 57 */ SetAccountId(const char * value)58 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } 59 60 /** 61 * <p>The Amazon Chime account ID.</p> 62 */ WithAccountId(const Aws::String & value)63 inline RegenerateSecurityTokenRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} 64 65 /** 66 * <p>The Amazon Chime account ID.</p> 67 */ WithAccountId(Aws::String && value)68 inline RegenerateSecurityTokenRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} 69 70 /** 71 * <p>The Amazon Chime account ID.</p> 72 */ WithAccountId(const char * value)73 inline RegenerateSecurityTokenRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} 74 75 76 /** 77 * <p>The bot ID.</p> 78 */ GetBotId()79 inline const Aws::String& GetBotId() const{ return m_botId; } 80 81 /** 82 * <p>The bot ID.</p> 83 */ BotIdHasBeenSet()84 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; } 85 86 /** 87 * <p>The bot ID.</p> 88 */ SetBotId(const Aws::String & value)89 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; } 90 91 /** 92 * <p>The bot ID.</p> 93 */ SetBotId(Aws::String && value)94 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); } 95 96 /** 97 * <p>The bot ID.</p> 98 */ SetBotId(const char * value)99 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); } 100 101 /** 102 * <p>The bot ID.</p> 103 */ WithBotId(const Aws::String & value)104 inline RegenerateSecurityTokenRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} 105 106 /** 107 * <p>The bot ID.</p> 108 */ WithBotId(Aws::String && value)109 inline RegenerateSecurityTokenRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} 110 111 /** 112 * <p>The bot ID.</p> 113 */ WithBotId(const char * value)114 inline RegenerateSecurityTokenRequest& WithBotId(const char* value) { SetBotId(value); return *this;} 115 116 private: 117 118 Aws::String m_accountId; 119 bool m_accountIdHasBeenSet; 120 121 Aws::String m_botId; 122 bool m_botIdHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace Chime 127 } // namespace Aws 128