AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmpConfiguration.h
1
6#pragma once
7#include <aws/amp/PrometheusService_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 PrometheusService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PROMETHEUSSERVICE_API AmpConfiguration();
37 AWS_PROMETHEUSSERVICE_API AmpConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PROMETHEUSSERVICE_API AmpConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetWorkspaceArn() const{ return m_workspaceArn; }
47 inline bool WorkspaceArnHasBeenSet() const { return m_workspaceArnHasBeenSet; }
48 inline void SetWorkspaceArn(const Aws::String& value) { m_workspaceArnHasBeenSet = true; m_workspaceArn = value; }
49 inline void SetWorkspaceArn(Aws::String&& value) { m_workspaceArnHasBeenSet = true; m_workspaceArn = std::move(value); }
50 inline void SetWorkspaceArn(const char* value) { m_workspaceArnHasBeenSet = true; m_workspaceArn.assign(value); }
51 inline AmpConfiguration& WithWorkspaceArn(const Aws::String& value) { SetWorkspaceArn(value); return *this;}
52 inline AmpConfiguration& WithWorkspaceArn(Aws::String&& value) { SetWorkspaceArn(std::move(value)); return *this;}
53 inline AmpConfiguration& WithWorkspaceArn(const char* value) { SetWorkspaceArn(value); return *this;}
55 private:
56
57 Aws::String m_workspaceArn;
58 bool m_workspaceArnHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace PrometheusService
63} // namespace Aws
AmpConfiguration & WithWorkspaceArn(Aws::String &&value)
AmpConfiguration & WithWorkspaceArn(const char *value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWorkspaceArn(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API AmpConfiguration()
AWS_PROMETHEUSSERVICE_API AmpConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AmpConfiguration & WithWorkspaceArn(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API AmpConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue