AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppDefinition.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/Card.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QAPPS_API AppDefinition();
38 AWS_QAPPS_API AppDefinition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAppDefinitionVersion() const{ return m_appDefinitionVersion; }
48 inline bool AppDefinitionVersionHasBeenSet() const { return m_appDefinitionVersionHasBeenSet; }
49 inline void SetAppDefinitionVersion(const Aws::String& value) { m_appDefinitionVersionHasBeenSet = true; m_appDefinitionVersion = value; }
50 inline void SetAppDefinitionVersion(Aws::String&& value) { m_appDefinitionVersionHasBeenSet = true; m_appDefinitionVersion = std::move(value); }
51 inline void SetAppDefinitionVersion(const char* value) { m_appDefinitionVersionHasBeenSet = true; m_appDefinitionVersion.assign(value); }
52 inline AppDefinition& WithAppDefinitionVersion(const Aws::String& value) { SetAppDefinitionVersion(value); return *this;}
53 inline AppDefinition& WithAppDefinitionVersion(Aws::String&& value) { SetAppDefinitionVersion(std::move(value)); return *this;}
54 inline AppDefinition& WithAppDefinitionVersion(const char* value) { SetAppDefinitionVersion(value); return *this;}
56
58
62 inline const Aws::Vector<Card>& GetCards() const{ return m_cards; }
63 inline bool CardsHasBeenSet() const { return m_cardsHasBeenSet; }
64 inline void SetCards(const Aws::Vector<Card>& value) { m_cardsHasBeenSet = true; m_cards = value; }
65 inline void SetCards(Aws::Vector<Card>&& value) { m_cardsHasBeenSet = true; m_cards = std::move(value); }
66 inline AppDefinition& WithCards(const Aws::Vector<Card>& value) { SetCards(value); return *this;}
67 inline AppDefinition& WithCards(Aws::Vector<Card>&& value) { SetCards(std::move(value)); return *this;}
68 inline AppDefinition& AddCards(const Card& value) { m_cardsHasBeenSet = true; m_cards.push_back(value); return *this; }
69 inline AppDefinition& AddCards(Card&& value) { m_cardsHasBeenSet = true; m_cards.push_back(std::move(value)); return *this; }
71
73
77 inline bool GetCanEdit() const{ return m_canEdit; }
78 inline bool CanEditHasBeenSet() const { return m_canEditHasBeenSet; }
79 inline void SetCanEdit(bool value) { m_canEditHasBeenSet = true; m_canEdit = value; }
80 inline AppDefinition& WithCanEdit(bool value) { SetCanEdit(value); return *this;}
82 private:
83
84 Aws::String m_appDefinitionVersion;
85 bool m_appDefinitionVersionHasBeenSet = false;
86
87 Aws::Vector<Card> m_cards;
88 bool m_cardsHasBeenSet = false;
89
90 bool m_canEdit;
91 bool m_canEditHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace QApps
96} // namespace Aws
AppDefinition & WithAppDefinitionVersion(const char *value)
const Aws::String & GetAppDefinitionVersion() const
AppDefinition & WithCanEdit(bool value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AppDefinition & WithCards(Aws::Vector< Card > &&value)
AppDefinition & WithAppDefinitionVersion(const Aws::String &value)
AWS_QAPPS_API AppDefinition(Aws::Utils::Json::JsonView jsonValue)
AppDefinition & AddCards(const Card &value)
void SetCards(Aws::Vector< Card > &&value)
AWS_QAPPS_API AppDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AppDefinition & WithCards(const Aws::Vector< Card > &value)
void SetAppDefinitionVersion(Aws::String &&value)
void SetAppDefinitionVersion(const Aws::String &value)
void SetCards(const Aws::Vector< Card > &value)
const Aws::Vector< Card > & GetCards() const
AppDefinition & AddCards(Card &&value)
AppDefinition & WithAppDefinitionVersion(Aws::String &&value)
void SetAppDefinitionVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue