AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceUri.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ResourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API ResourceUri();
36 AWS_GLUE_API ResourceUri(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
46 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
47 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
48 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
49 inline ResourceUri& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
50 inline ResourceUri& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetUri() const{ return m_uri; }
58 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
59 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
60 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
61 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
62 inline ResourceUri& WithUri(const Aws::String& value) { SetUri(value); return *this;}
63 inline ResourceUri& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
64 inline ResourceUri& WithUri(const char* value) { SetUri(value); return *this;}
66 private:
67
68 ResourceType m_resourceType;
69 bool m_resourceTypeHasBeenSet = false;
70
71 Aws::String m_uri;
72 bool m_uriHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
bool ResourceTypeHasBeenSet() const
Definition ResourceUri.h:46
AWS_GLUE_API ResourceUri(Aws::Utils::Json::JsonView jsonValue)
void SetUri(const char *value)
Definition ResourceUri.h:61
void SetUri(const Aws::String &value)
Definition ResourceUri.h:59
AWS_GLUE_API ResourceUri & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceUri & WithUri(const char *value)
Definition ResourceUri.h:64
void SetResourceType(const ResourceType &value)
Definition ResourceUri.h:47
void SetUri(Aws::String &&value)
Definition ResourceUri.h:60
const Aws::String & GetUri() const
Definition ResourceUri.h:57
void SetResourceType(ResourceType &&value)
Definition ResourceUri.h:48
ResourceUri & WithUri(const Aws::String &value)
Definition ResourceUri.h:62
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceType & GetResourceType() const
Definition ResourceUri.h:45
ResourceUri & WithResourceType(const ResourceType &value)
Definition ResourceUri.h:49
ResourceUri & WithUri(Aws::String &&value)
Definition ResourceUri.h:63
ResourceUri & WithResourceType(ResourceType &&value)
Definition ResourceUri.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue