AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateLoggingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateLoggingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateLoggingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
58 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
59 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
60 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
61 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
65
67
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
81 inline CreateLoggingConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateLoggingConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
83 inline CreateLoggingConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
84 inline CreateLoggingConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateLoggingConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 inline CreateLoggingConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
87 inline CreateLoggingConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
88 inline CreateLoggingConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 DestinationConfiguration m_destinationConfiguration;
96 bool m_destinationConfigurationHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ivschat
104} // namespace Aws
CreateLoggingConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLoggingConfigurationRequest & WithDestinationConfiguration(DestinationConfiguration &&value)
CreateLoggingConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateLoggingConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateLoggingConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLoggingConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLoggingConfigurationRequest & WithName(const char *value)
CreateLoggingConfigurationRequest & WithDestinationConfiguration(const DestinationConfiguration &value)
CreateLoggingConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateLoggingConfigurationRequest & AddTags(const char *key, const char *value)
CreateLoggingConfigurationRequest & WithName(const Aws::String &value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
CreateLoggingConfigurationRequest & AddTags(Aws::String &&key, const char *value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
CreateLoggingConfigurationRequest & WithName(Aws::String &&value)
CreateLoggingConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&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