AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ApiId.h
1
6#pragma once
7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/IdentifierParts.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace APIPortal {
20namespace Model {
21
27class ApiId {
28 public:
29 AWS_APIPORTAL_API ApiId() = default;
30 AWS_APIPORTAL_API ApiId(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APIPORTAL_API ApiId& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const IdentifierParts& GetIdentifierParts() const { return m_identifierParts; }
39 inline bool IdentifierPartsHasBeenSet() const { return m_identifierPartsHasBeenSet; }
40 template <typename IdentifierPartsT = IdentifierParts>
41 void SetIdentifierParts(IdentifierPartsT&& value) {
42 m_identifierPartsHasBeenSet = true;
43 m_identifierParts = std::forward<IdentifierPartsT>(value);
44 }
45 template <typename IdentifierPartsT = IdentifierParts>
46 ApiId& WithIdentifierParts(IdentifierPartsT&& value) {
47 SetIdentifierParts(std::forward<IdentifierPartsT>(value));
48 return *this;
49 }
51 private:
52 IdentifierParts m_identifierParts;
53 bool m_identifierPartsHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace APIPortal
58} // namespace Aws
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIPORTAL_API ApiId(Aws::Utils::Json::JsonView jsonValue)
const IdentifierParts & GetIdentifierParts() const
Definition ApiId.h:38
ApiId & WithIdentifierParts(IdentifierPartsT &&value)
Definition ApiId.h:46
AWS_APIPORTAL_API ApiId()=default
bool IdentifierPartsHasBeenSet() const
Definition ApiId.h:39
void SetIdentifierParts(IdentifierPartsT &&value)
Definition ApiId.h:41
AWS_APIPORTAL_API ApiId & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue