AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DefaultApplication.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLiftStreams {
20namespace Model {
21
29 public:
30 AWS_GAMELIFTSTREAMS_API DefaultApplication() = default;
31 AWS_GAMELIFTSTREAMS_API DefaultApplication(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GAMELIFTSTREAMS_API DefaultApplication& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
48 DefaultApplication& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
63 inline const Aws::String& GetArn() const { return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 template <typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) {
67 m_arnHasBeenSet = true;
68 m_arn = std::forward<ArnT>(value);
69 }
70 template <typename ArnT = Aws::String>
71 DefaultApplication& WithArn(ArnT&& value) {
72 SetArn(std::forward<ArnT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_id;
78
79 Aws::String m_arn;
80 bool m_idHasBeenSet = false;
81 bool m_arnHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GameLiftStreams
86} // namespace Aws
DefaultApplication & WithArn(ArnT &&value)
AWS_GAMELIFTSTREAMS_API DefaultApplication(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFTSTREAMS_API DefaultApplication()=default
AWS_GAMELIFTSTREAMS_API DefaultApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue