AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateContainerRequest.h
1
6#pragma once
7#include <aws/mediastore/MediaStore_EXPORTS.h>
8#include <aws/mediastore/MediaStoreRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mediastore/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaStore
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIASTORE_API CreateContainerRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateContainer"; }
33
34 AWS_MEDIASTORE_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetContainerName() const{ return m_containerName; }
47 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
48 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
49 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
50 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
51 inline CreateContainerRequest& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
52 inline CreateContainerRequest& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
53 inline CreateContainerRequest& WithContainerName(const char* value) { SetContainerName(value); return *this;}
55
57
67 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
68 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
69 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
70 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
71 inline CreateContainerRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
72 inline CreateContainerRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
73 inline CreateContainerRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
74 inline CreateContainerRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
76 private:
77
78 Aws::String m_containerName;
79 bool m_containerNameHasBeenSet = false;
80
81 Aws::Vector<Tag> m_tags;
82 bool m_tagsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MediaStore
87} // namespace Aws
CreateContainerRequest & WithContainerName(Aws::String &&value)
CreateContainerRequest & WithContainerName(const Aws::String &value)
AWS_MEDIASTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateContainerRequest & WithTags(const Aws::Vector< Tag > &value)
CreateContainerRequest & WithTags(Aws::Vector< Tag > &&value)
CreateContainerRequest & AddTags(const Tag &value)
AWS_MEDIASTORE_API Aws::String SerializePayload() const override
CreateContainerRequest & WithContainerName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateContainerRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector