AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRoomRequest.h
1
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#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Chime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CHIME_API CreateRoomRequest() = default;
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.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateRoom"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 CreateRoomRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 CreateRoomRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
65 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
66 template<typename ClientRequestTokenT = Aws::String>
67 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
68 template<typename ClientRequestTokenT = Aws::String>
69 CreateRoomRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
80 bool m_clientRequestTokenHasBeenSet = true;
81 };
82
83} // namespace Model
84} // namespace Chime
85} // namespace Aws
AWS_CHIME_API Aws::String SerializePayload() const override
AWS_CHIME_API CreateRoomRequest()=default
const Aws::String & GetClientRequestToken() const
CreateRoomRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetAccountId(AccountIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
const Aws::String & GetName() const
CreateRoomRequest & WithAccountId(AccountIdT &&value)
CreateRoomRequest & WithName(NameT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String