AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<typename ApplicationIdT = Aws::String>
49 VersionSummary& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
57 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
58 template<typename CreationTimeT = Aws::String>
59 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
60 template<typename CreationTimeT = Aws::String>
61 VersionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
63
65
71 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
72 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
73 template<typename SemanticVersionT = Aws::String>
74 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
75 template<typename SemanticVersionT = Aws::String>
76 VersionSummary& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSourceCodeUrl() const { return m_sourceCodeUrl; }
85 inline bool SourceCodeUrlHasBeenSet() const { return m_sourceCodeUrlHasBeenSet; }
86 template<typename SourceCodeUrlT = Aws::String>
87 void SetSourceCodeUrl(SourceCodeUrlT&& value) { m_sourceCodeUrlHasBeenSet = true; m_sourceCodeUrl = std::forward<SourceCodeUrlT>(value); }
88 template<typename SourceCodeUrlT = Aws::String>
89 VersionSummary& WithSourceCodeUrl(SourceCodeUrlT&& value) { SetSourceCodeUrl(std::forward<SourceCodeUrlT>(value)); return *this;}
91 private:
92
93 Aws::String m_applicationId;
94 bool m_applicationIdHasBeenSet = false;
95
96 Aws::String m_creationTime;
97 bool m_creationTimeHasBeenSet = false;
98
99 Aws::String m_semanticVersion;
100 bool m_semanticVersionHasBeenSet = false;
101
102 Aws::String m_sourceCodeUrl;
103 bool m_sourceCodeUrlHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ServerlessApplicationRepository
108} // namespace Aws
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VersionSummary & WithSourceCodeUrl(SourceCodeUrlT &&value)
VersionSummary & WithSemanticVersion(SemanticVersionT &&value)
VersionSummary & WithApplicationId(ApplicationIdT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary()=default
VersionSummary & WithCreationTime(CreationTimeT &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API VersionSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue