AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningArtifactSummary.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_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 ServiceCatalog
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICECATALOG_API ProvisioningArtifactSummary();
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ProvisioningArtifactSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ProvisioningArtifactSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ProvisioningArtifactSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline ProvisioningArtifactSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline ProvisioningArtifactSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline ProvisioningArtifactSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline ProvisioningArtifactSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline ProvisioningArtifactSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline ProvisioningArtifactSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
90 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
91 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
92 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
94 inline ProvisioningArtifactSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
96
98
102 inline const Aws::Map<Aws::String, Aws::String>& GetProvisioningArtifactMetadata() const{ return m_provisioningArtifactMetadata; }
103 inline bool ProvisioningArtifactMetadataHasBeenSet() const { return m_provisioningArtifactMetadataHasBeenSet; }
104 inline void SetProvisioningArtifactMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata = value; }
105 inline void SetProvisioningArtifactMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata = std::move(value); }
108 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const Aws::String& key, const Aws::String& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, value); return *this; }
109 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, const Aws::String& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), value); return *this; }
110 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const Aws::String& key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, std::move(value)); return *this; }
111 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), std::move(value)); return *this; }
112 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const char* key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, std::move(value)); return *this; }
113 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, const char* value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), value); return *this; }
114 inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const char* key, const char* value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createdTime;
128 bool m_createdTimeHasBeenSet = false;
129
130 Aws::Map<Aws::String, Aws::String> m_provisioningArtifactMetadata;
131 bool m_provisioningArtifactMetadataHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ServiceCatalog
136} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProvisioningArtifactMetadata() const
AWS_SERVICECATALOG_API ProvisioningArtifactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactSummary & WithDescription(const Aws::String &value)
ProvisioningArtifactSummary & WithName(const char *value)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(const char *key, Aws::String &&value)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(Aws::String &&key, const Aws::String &value)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(const Aws::String &key, const Aws::String &value)
ProvisioningArtifactSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ProvisioningArtifactSummary & WithId(Aws::String &&value)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(Aws::String &&key, const char *value)
ProvisioningArtifactSummary & WithId(const char *value)
ProvisioningArtifactSummary & WithId(const Aws::String &value)
void SetProvisioningArtifactMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetProvisioningArtifactMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ProvisioningArtifactSummary & WithDescription(Aws::String &&value)
ProvisioningArtifactSummary & WithName(Aws::String &&value)
ProvisioningArtifactSummary & WithDescription(const char *value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(const Aws::String &key, Aws::String &&value)
ProvisioningArtifactSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(Aws::String &&key, Aws::String &&value)
ProvisioningArtifactSummary & WithProvisioningArtifactMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SERVICECATALOG_API ProvisioningArtifactSummary(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactSummary & AddProvisioningArtifactMetadata(const char *key, const char *value)
ProvisioningArtifactSummary & WithName(const Aws::String &value)
ProvisioningArtifactSummary & WithProvisioningArtifactMetadata(Aws::Map< Aws::String, 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