AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DevEnvironmentAccessDetails.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCatalyst
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODECATALYST_API DevEnvironmentAccessDetails();
38 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; }
46 inline bool StreamUrlHasBeenSet() const { return m_streamUrlHasBeenSet; }
47 inline void SetStreamUrl(const Aws::String& value) { m_streamUrlHasBeenSet = true; m_streamUrl = value; }
48 inline void SetStreamUrl(Aws::String&& value) { m_streamUrlHasBeenSet = true; m_streamUrl = std::move(value); }
49 inline void SetStreamUrl(const char* value) { m_streamUrlHasBeenSet = true; m_streamUrl.assign(value); }
50 inline DevEnvironmentAccessDetails& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;}
51 inline DevEnvironmentAccessDetails& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;}
52 inline DevEnvironmentAccessDetails& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;}
54
56
60 inline const Aws::String& GetTokenValue() const{ return m_tokenValue; }
61 inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; }
62 inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; }
63 inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); }
64 inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); }
65 inline DevEnvironmentAccessDetails& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;}
66 inline DevEnvironmentAccessDetails& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;}
67 inline DevEnvironmentAccessDetails& WithTokenValue(const char* value) { SetTokenValue(value); return *this;}
69 private:
70
71 Aws::String m_streamUrl;
72 bool m_streamUrlHasBeenSet = false;
73
74 Aws::String m_tokenValue;
75 bool m_tokenValueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CodeCatalyst
80} // namespace Aws
DevEnvironmentAccessDetails & WithStreamUrl(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
DevEnvironmentAccessDetails & WithTokenValue(const char *value)
DevEnvironmentAccessDetails & WithTokenValue(const Aws::String &value)
AWS_CODECATALYST_API DevEnvironmentAccessDetails(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentAccessDetails & WithStreamUrl(const char *value)
DevEnvironmentAccessDetails & WithStreamUrl(Aws::String &&value)
AWS_CODECATALYST_API DevEnvironmentAccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentAccessDetails & WithTokenValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue