AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageListItem.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PANORAMA_API PackageListItem();
37 AWS_PANORAMA_API PackageListItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline PackageListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline PackageListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline PackageListItem& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
61 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
62 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
63 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
64 inline PackageListItem& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
65 inline PackageListItem& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetPackageId() const{ return m_packageId; }
73 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
74 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
75 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
76 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
77 inline PackageListItem& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
78 inline PackageListItem& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
79 inline PackageListItem& WithPackageId(const char* value) { SetPackageId(value); return *this;}
81
83
86 inline const Aws::String& GetPackageName() const{ return m_packageName; }
87 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
88 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
89 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
90 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
91 inline PackageListItem& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
92 inline PackageListItem& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
93 inline PackageListItem& WithPackageName(const char* value) { SetPackageName(value); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
103 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
104 inline PackageListItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
105 inline PackageListItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
106 inline PackageListItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
107 inline PackageListItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
108 inline PackageListItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
109 inline PackageListItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
110 inline PackageListItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline PackageListItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
112 inline PackageListItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
114 private:
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::Utils::DateTime m_createdTime;
120 bool m_createdTimeHasBeenSet = false;
121
122 Aws::String m_packageId;
123 bool m_packageIdHasBeenSet = false;
124
125 Aws::String m_packageName;
126 bool m_packageNameHasBeenSet = false;
127
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Panorama
134} // namespace Aws
PackageListItem & WithPackageId(const Aws::String &value)
PackageListItem & AddTags(const Aws::String &key, const Aws::String &value)
PackageListItem & AddTags(Aws::String &&key, Aws::String &&value)
PackageListItem & WithPackageName(Aws::String &&value)
PackageListItem & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_PANORAMA_API PackageListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageListItem & AddTags(const Aws::String &key, Aws::String &&value)
PackageListItem & AddTags(Aws::String &&key, const char *value)
void SetPackageName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetPackageId() const
void SetPackageName(Aws::String &&value)
PackageListItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
PackageListItem & WithCreatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
PackageListItem & AddTags(const char *key, Aws::String &&value)
PackageListItem & AddTags(Aws::String &&key, const Aws::String &value)
PackageListItem & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PackageListItem & WithPackageId(const char *value)
AWS_PANORAMA_API PackageListItem(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
const Aws::String & GetPackageName() const
const Aws::Utils::DateTime & GetCreatedTime() const
PackageListItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPackageName(const char *value)
PackageListItem & WithArn(const char *value)
void SetPackageId(const Aws::String &value)
PackageListItem & AddTags(const char *key, const char *value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
PackageListItem & WithPackageName(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPackageId(Aws::String &&value)
PackageListItem & WithArn(Aws::String &&value)
PackageListItem & WithPackageName(const Aws::String &value)
PackageListItem & WithPackageId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue