AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline CreateRoomRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline CreateRoomRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline CreateRoomRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline CreateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline CreateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline CreateRoomRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
69 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
70 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
71 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
72 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
73 inline CreateRoomRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
74 inline CreateRoomRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
75 inline CreateRoomRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
77 private:
78
79 Aws::String m_accountId;
80 bool m_accountIdHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_clientRequestToken;
86 bool m_clientRequestTokenHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Chime
91} // namespace Aws
AWS_CHIME_API Aws::String SerializePayload() const override
const Aws::String & GetClientRequestToken() const
void SetClientRequestToken(const char *value)
void SetAccountId(Aws::String &&value)
void SetAccountId(const Aws::String &value)
CreateRoomRequest & WithName(const Aws::String &value)
CreateRoomRequest & WithAccountId(Aws::String &&value)
CreateRoomRequest & WithName(const char *value)
CreateRoomRequest & WithAccountId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
const Aws::String & GetName() const
void SetName(const Aws::String &value)
CreateRoomRequest & WithClientRequestToken(const char *value)
void SetClientRequestToken(Aws::String &&value)
CreateRoomRequest & WithName(Aws::String &&value)
CreateRoomRequest & WithAccountId(const char *value)
CreateRoomRequest & WithClientRequestToken(const Aws::String &value)
void SetClientRequestToken(const Aws::String &value)
CreateRoomRequest & WithClientRequestToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String