AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ProjectSummary.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeCatalyst {
20namespace Model {
21
28 public:
29 AWS_CODECATALYST_API ProjectSummary() = default;
30 AWS_CODECATALYST_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CODECATALYST_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 ProjectSummary& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
65 ProjectSummary& WithDisplayName(DisplayNameT&& value) {
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 ProjectSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
91 Aws::String m_displayName;
92
93 Aws::String m_description;
94 bool m_nameHasBeenSet = false;
95 bool m_displayNameHasBeenSet = false;
96 bool m_descriptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CodeCatalyst
101} // namespace Aws
AWS_CODECATALYST_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API ProjectSummary()=default
ProjectSummary & WithName(NameT &&value)
const Aws::String & GetDescription() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
ProjectSummary & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
ProjectSummary & WithDisplayName(DisplayNameT &&value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECATALYST_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue