AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivschat/model/DestinationConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivschat
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSCHAT_API CreateLoggingConfigurationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateLoggingConfiguration"; }
33
34 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 CreateLoggingConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
56 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
57 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
58 template<typename DestinationConfigurationT = DestinationConfiguration>
59 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
60 template<typename DestinationConfigurationT = DestinationConfiguration>
61 CreateLoggingConfigurationRequest& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
63
65
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
78 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 CreateLoggingConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
80 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
81 CreateLoggingConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
82 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
83 }
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 DestinationConfiguration m_destinationConfiguration;
91 bool m_destinationConfigurationHasBeenSet = false;
92
94 bool m_tagsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ivschat
99} // namespace Aws
CreateLoggingConfigurationRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLoggingConfigurationRequest & WithName(NameT &&value)
CreateLoggingConfigurationRequest & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
CreateLoggingConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String