AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Container.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API Container();
37 AWS_IMAGEBUILDER_API Container(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API Container& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRegion() const{ return m_region; }
48 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
49 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
50 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
51 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
52 inline Container& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
53 inline Container& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
54 inline Container& WithRegion(const char* value) { SetRegion(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetImageUris() const{ return m_imageUris; }
62 inline bool ImageUrisHasBeenSet() const { return m_imageUrisHasBeenSet; }
63 inline void SetImageUris(const Aws::Vector<Aws::String>& value) { m_imageUrisHasBeenSet = true; m_imageUris = value; }
64 inline void SetImageUris(Aws::Vector<Aws::String>&& value) { m_imageUrisHasBeenSet = true; m_imageUris = std::move(value); }
65 inline Container& WithImageUris(const Aws::Vector<Aws::String>& value) { SetImageUris(value); return *this;}
66 inline Container& WithImageUris(Aws::Vector<Aws::String>&& value) { SetImageUris(std::move(value)); return *this;}
67 inline Container& AddImageUris(const Aws::String& value) { m_imageUrisHasBeenSet = true; m_imageUris.push_back(value); return *this; }
68 inline Container& AddImageUris(Aws::String&& value) { m_imageUrisHasBeenSet = true; m_imageUris.push_back(std::move(value)); return *this; }
69 inline Container& AddImageUris(const char* value) { m_imageUrisHasBeenSet = true; m_imageUris.push_back(value); return *this; }
71 private:
72
73 Aws::String m_region;
74 bool m_regionHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_imageUris;
77 bool m_imageUrisHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace imagebuilder
82} // namespace Aws
void SetImageUris(Aws::Vector< Aws::String > &&value)
Definition Container.h:64
const Aws::String & GetRegion() const
Definition Container.h:47
AWS_IMAGEBUILDER_API Container & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const Aws::String &value)
Definition Container.h:49
Container & AddImageUris(const char *value)
Definition Container.h:69
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Container & AddImageUris(Aws::String &&value)
Definition Container.h:68
Container & WithImageUris(Aws::Vector< Aws::String > &&value)
Definition Container.h:66
const Aws::Vector< Aws::String > & GetImageUris() const
Definition Container.h:61
Container & WithRegion(const Aws::String &value)
Definition Container.h:52
AWS_IMAGEBUILDER_API Container()
void SetImageUris(const Aws::Vector< Aws::String > &value)
Definition Container.h:63
Container & WithRegion(const char *value)
Definition Container.h:54
Container & AddImageUris(const Aws::String &value)
Definition Container.h:67
Container & WithRegion(Aws::String &&value)
Definition Container.h:53
Container & WithImageUris(const Aws::Vector< Aws::String > &value)
Definition Container.h:65
void SetRegion(Aws::String &&value)
Definition Container.h:50
void SetRegion(const char *value)
Definition Container.h:51
AWS_IMAGEBUILDER_API Container(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue