AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImagePackage.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace imagebuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IMAGEBUILDER_API ImagePackage();
36 AWS_IMAGEBUILDER_API ImagePackage(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IMAGEBUILDER_API ImagePackage& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetPackageName() const{ return m_packageName; }
47 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
48 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
49 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
50 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
51 inline ImagePackage& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
52 inline ImagePackage& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
53 inline ImagePackage& WithPackageName(const char* value) { SetPackageName(value); return *this;}
55
57
61 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
62 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
63 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
64 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
65 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
66 inline ImagePackage& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
67 inline ImagePackage& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
68 inline ImagePackage& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
70 private:
71
72 Aws::String m_packageName;
73 bool m_packageNameHasBeenSet = false;
74
75 Aws::String m_packageVersion;
76 bool m_packageVersionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace imagebuilder
81} // namespace Aws
ImagePackage & WithPackageName(const Aws::String &value)
AWS_IMAGEBUILDER_API ImagePackage()
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPackageVersion() const
ImagePackage & WithPackageVersion(Aws::String &&value)
void SetPackageVersion(Aws::String &&value)
ImagePackage & WithPackageVersion(const char *value)
void SetPackageVersion(const char *value)
void SetPackageName(Aws::String &&value)
ImagePackage & WithPackageName(Aws::String &&value)
const Aws::String & GetPackageName() const
void SetPackageName(const Aws::String &value)
ImagePackage & WithPackageVersion(const Aws::String &value)
AWS_IMAGEBUILDER_API ImagePackage & operator=(Aws::Utils::Json::JsonView jsonValue)
ImagePackage & WithPackageName(const char *value)
AWS_IMAGEBUILDER_API ImagePackage(Aws::Utils::Json::JsonView jsonValue)
void SetPackageVersion(const Aws::String &value)
void SetPackageName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue