AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUserRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.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 Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API CreateUserRequest();
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 "CreateUser"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetCollectionId() const{ return m_collectionId; }
44 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
45 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
46 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
47 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
48 inline CreateUserRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
49 inline CreateUserRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
50 inline CreateUserRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
52
54
58 inline const Aws::String& GetUserId() const{ return m_userId; }
59 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
60 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
61 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
62 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
63 inline CreateUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
64 inline CreateUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
65 inline CreateUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
67
69
75 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
76 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
77 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
78 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
79 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
80 inline CreateUserRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
81 inline CreateUserRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
82 inline CreateUserRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
84 private:
85
86 Aws::String m_collectionId;
87 bool m_collectionIdHasBeenSet = false;
88
89 Aws::String m_userId;
90 bool m_userIdHasBeenSet = false;
91
92 Aws::String m_clientRequestToken;
93 bool m_clientRequestTokenHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Rekognition
98} // namespace Aws
const Aws::String & GetCollectionId() const
CreateUserRequest & WithClientRequestToken(const char *value)
const Aws::String & GetClientRequestToken() const
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CreateUserRequest & WithCollectionId(Aws::String &&value)
CreateUserRequest & WithUserId(const char *value)
CreateUserRequest & WithCollectionId(const char *value)
CreateUserRequest & WithUserId(Aws::String &&value)
CreateUserRequest & WithClientRequestToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetUserId(const Aws::String &value)
void SetClientRequestToken(const Aws::String &value)
void SetCollectionId(const Aws::String &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserRequest & WithClientRequestToken(const Aws::String &value)
CreateUserRequest & WithUserId(const Aws::String &value)
void SetClientRequestToken(Aws::String &&value)
CreateUserRequest & WithCollectionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String