AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateBotRequest.h
1
6#pragma once
7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Chime {
15namespace Model {
16
20 public:
21 AWS_CHIME_API CreateBotRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateBot"; }
28
29 AWS_CHIME_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetAccountId() const { return m_accountId; }
36 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
37 template <typename AccountIdT = Aws::String>
38 void SetAccountId(AccountIdT&& value) {
39 m_accountIdHasBeenSet = true;
40 m_accountId = std::forward<AccountIdT>(value);
41 }
42 template <typename AccountIdT = Aws::String>
43 CreateBotRequest& WithAccountId(AccountIdT&& value) {
44 SetAccountId(std::forward<AccountIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDisplayName() const { return m_displayName; }
54 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
55 template <typename DisplayNameT = Aws::String>
56 void SetDisplayName(DisplayNameT&& value) {
57 m_displayNameHasBeenSet = true;
58 m_displayName = std::forward<DisplayNameT>(value);
59 }
60 template <typename DisplayNameT = Aws::String>
61 CreateBotRequest& WithDisplayName(DisplayNameT&& value) {
62 SetDisplayName(std::forward<DisplayNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDomain() const { return m_domain; }
72 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
73 template <typename DomainT = Aws::String>
74 void SetDomain(DomainT&& value) {
75 m_domainHasBeenSet = true;
76 m_domain = std::forward<DomainT>(value);
77 }
78 template <typename DomainT = Aws::String>
79 CreateBotRequest& WithDomain(DomainT&& value) {
80 SetDomain(std::forward<DomainT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_accountId;
86
87 Aws::String m_displayName;
88
89 Aws::String m_domain;
90 bool m_accountIdHasBeenSet = false;
91 bool m_displayNameHasBeenSet = false;
92 bool m_domainHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Chime
97} // namespace Aws
const Aws::String & GetDisplayName() const
AWS_CHIME_API CreateBotRequest()=default
CreateBotRequest & WithDomain(DomainT &&value)
CreateBotRequest & WithAccountId(AccountIdT &&value)
const Aws::String & GetDomain() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetAccountId() const
void SetAccountId(AccountIdT &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
CreateBotRequest & WithDisplayName(DisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String