AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateObservabilityConfigurationRequest.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/AppRunnerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apprunner/model/TraceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apprunner/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace AppRunner
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateObservabilityConfiguration"; }
34
35 AWS_APPRUNNER_API Aws::String SerializePayload() const override;
36
38
39
41
52 inline const Aws::String& GetObservabilityConfigurationName() const{ return m_observabilityConfigurationName; }
53 inline bool ObservabilityConfigurationNameHasBeenSet() const { return m_observabilityConfigurationNameHasBeenSet; }
54 inline void SetObservabilityConfigurationName(const Aws::String& value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName = value; }
55 inline void SetObservabilityConfigurationName(Aws::String&& value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName = std::move(value); }
56 inline void SetObservabilityConfigurationName(const char* value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName.assign(value); }
61
63
67 inline const TraceConfiguration& GetTraceConfiguration() const{ return m_traceConfiguration; }
68 inline bool TraceConfigurationHasBeenSet() const { return m_traceConfigurationHasBeenSet; }
69 inline void SetTraceConfiguration(const TraceConfiguration& value) { m_traceConfigurationHasBeenSet = true; m_traceConfiguration = value; }
70 inline void SetTraceConfiguration(TraceConfiguration&& value) { m_traceConfigurationHasBeenSet = true; m_traceConfiguration = std::move(value); }
74
76
80 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
83 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
84 inline CreateObservabilityConfigurationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
85 inline CreateObservabilityConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
86 inline CreateObservabilityConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
87 inline CreateObservabilityConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
89 private:
90
91 Aws::String m_observabilityConfigurationName;
92 bool m_observabilityConfigurationNameHasBeenSet = false;
93
94 TraceConfiguration m_traceConfiguration;
95 bool m_traceConfigurationHasBeenSet = false;
96
97 Aws::Vector<Tag> m_tags;
98 bool m_tagsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace AppRunner
103} // namespace Aws
CreateObservabilityConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateObservabilityConfigurationRequest & WithObservabilityConfigurationName(const Aws::String &value)
CreateObservabilityConfigurationRequest & WithObservabilityConfigurationName(Aws::String &&value)
AWS_APPRUNNER_API Aws::String SerializePayload() const override
CreateObservabilityConfigurationRequest & AddTags(const Tag &value)
CreateObservabilityConfigurationRequest & WithTraceConfiguration(const TraceConfiguration &value)
CreateObservabilityConfigurationRequest & WithObservabilityConfigurationName(const char *value)
CreateObservabilityConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateObservabilityConfigurationRequest & WithTraceConfiguration(TraceConfiguration &&value)
AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector