AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClientPropertiesResult.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/ClientProperties.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API ClientPropertiesResult() = default;
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceId() const { return m_resourceId; }
46 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
47 template<typename ResourceIdT = Aws::String>
48 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
49 template<typename ResourceIdT = Aws::String>
50 ClientPropertiesResult& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
52
54
57 inline const ClientProperties& GetClientProperties() const { return m_clientProperties; }
58 inline bool ClientPropertiesHasBeenSet() const { return m_clientPropertiesHasBeenSet; }
59 template<typename ClientPropertiesT = ClientProperties>
60 void SetClientProperties(ClientPropertiesT&& value) { m_clientPropertiesHasBeenSet = true; m_clientProperties = std::forward<ClientPropertiesT>(value); }
61 template<typename ClientPropertiesT = ClientProperties>
62 ClientPropertiesResult& WithClientProperties(ClientPropertiesT&& value) { SetClientProperties(std::forward<ClientPropertiesT>(value)); return *this;}
64 private:
65
66 Aws::String m_resourceId;
67 bool m_resourceIdHasBeenSet = false;
68
69 ClientProperties m_clientProperties;
70 bool m_clientPropertiesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WorkSpaces
75} // namespace Aws
AWS_WORKSPACES_API ClientPropertiesResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API ClientPropertiesResult()=default
ClientPropertiesResult & WithClientProperties(ClientPropertiesT &&value)
AWS_WORKSPACES_API ClientPropertiesResult(Aws::Utils::Json::JsonView jsonValue)
ClientPropertiesResult & WithResourceId(ResourceIdT &&value)
const ClientProperties & GetClientProperties() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue