AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageVersionOutputConfig.h
1
6#pragma once
7#include <aws/panorama/Panorama_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 Panorama
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PANORAMA_API PackageVersionOutputConfig();
37 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetMarkLatest() const{ return m_markLatest; }
45 inline bool MarkLatestHasBeenSet() const { return m_markLatestHasBeenSet; }
46 inline void SetMarkLatest(bool value) { m_markLatestHasBeenSet = true; m_markLatest = value; }
47 inline PackageVersionOutputConfig& WithMarkLatest(bool value) { SetMarkLatest(value); return *this;}
49
51
54 inline const Aws::String& GetPackageName() const{ return m_packageName; }
55 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
56 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
57 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
58 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
59 inline PackageVersionOutputConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
60 inline PackageVersionOutputConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
61 inline PackageVersionOutputConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
63
65
68 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
69 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
70 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
71 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
72 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
73 inline PackageVersionOutputConfig& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
74 inline PackageVersionOutputConfig& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
75 inline PackageVersionOutputConfig& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
77 private:
78
79 bool m_markLatest;
80 bool m_markLatestHasBeenSet = false;
81
82 Aws::String m_packageName;
83 bool m_packageNameHasBeenSet = false;
84
85 Aws::String m_packageVersion;
86 bool m_packageVersionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Panorama
91} // namespace Aws
AWS_PANORAMA_API PackageVersionOutputConfig(Aws::Utils::Json::JsonView jsonValue)
PackageVersionOutputConfig & WithPackageVersion(Aws::String &&value)
PackageVersionOutputConfig & WithPackageName(const char *value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionOutputConfig & WithPackageVersion(const Aws::String &value)
PackageVersionOutputConfig & WithMarkLatest(bool value)
PackageVersionOutputConfig & WithPackageName(Aws::String &&value)
PackageVersionOutputConfig & WithPackageVersion(const char *value)
PackageVersionOutputConfig & WithPackageName(const Aws::String &value)
AWS_PANORAMA_API PackageVersionOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue