AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VersionSummary.h
1
6#pragma once
7#include <aws/serverlessrepo/ServerlessApplicationRepository_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 ServerlessApplicationRepository
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary();
35 AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
47 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
48 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
49 inline VersionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
50 inline VersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
51 inline VersionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
53
55
58 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
59 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
60 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
61 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
62 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
63 inline VersionSummary& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
64 inline VersionSummary& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
65 inline VersionSummary& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
67
69
75 inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
76 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
77 inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; }
78 inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); }
79 inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); }
80 inline VersionSummary& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;}
81 inline VersionSummary& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
82 inline VersionSummary& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
84
86
90 inline const Aws::String& GetSourceCodeUrl() const{ return m_sourceCodeUrl; }
91 inline bool SourceCodeUrlHasBeenSet() const { return m_sourceCodeUrlHasBeenSet; }
92 inline void SetSourceCodeUrl(const Aws::String& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = value; }
93 inline void SetSourceCodeUrl(Aws::String&& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = std::move(value); }
94 inline void SetSourceCodeUrl(const char* value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl.assign(value); }
95 inline VersionSummary& WithSourceCodeUrl(const Aws::String& value) { SetSourceCodeUrl(value); return *this;}
96 inline VersionSummary& WithSourceCodeUrl(Aws::String&& value) { SetSourceCodeUrl(std::move(value)); return *this;}
97 inline VersionSummary& WithSourceCodeUrl(const char* value) { SetSourceCodeUrl(value); return *this;}
99 private:
100
101 Aws::String m_applicationId;
102 bool m_applicationIdHasBeenSet = false;
103
104 Aws::String m_creationTime;
105 bool m_creationTimeHasBeenSet = false;
106
107 Aws::String m_semanticVersion;
108 bool m_semanticVersionHasBeenSet = false;
109
110 Aws::String m_sourceCodeUrl;
111 bool m_sourceCodeUrlHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ServerlessApplicationRepository
116} // namespace Aws
VersionSummary & WithApplicationId(const Aws::String &value)
VersionSummary & WithCreationTime(const Aws::String &value)
VersionSummary & WithSourceCodeUrl(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VersionSummary & WithSemanticVersion(Aws::String &&value)
VersionSummary & WithSourceCodeUrl(Aws::String &&value)
VersionSummary & WithSemanticVersion(const char *value)
VersionSummary & WithApplicationId(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
VersionSummary & WithCreationTime(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary()
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary(Aws::Utils::Json::JsonView jsonValue)
VersionSummary & WithSemanticVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue