AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictResolution.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ConflictResolvingModel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API ConflictResolution();
37 AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API ConflictResolution& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const ConflictResolvingModel& GetConflictResolvingModel() const{ return m_conflictResolvingModel; }
53 inline bool ConflictResolvingModelHasBeenSet() const { return m_conflictResolvingModelHasBeenSet; }
54 inline void SetConflictResolvingModel(const ConflictResolvingModel& value) { m_conflictResolvingModelHasBeenSet = true; m_conflictResolvingModel = value; }
55 inline void SetConflictResolvingModel(ConflictResolvingModel&& value) { m_conflictResolvingModelHasBeenSet = true; m_conflictResolvingModel = std::move(value); }
59
61
66 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
67 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
68 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
69 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
70 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
71 inline ConflictResolution& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
72 inline ConflictResolution& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
73 inline ConflictResolution& WithSourceName(const char* value) { SetSourceName(value); return *this;}
75 private:
76
77 ConflictResolvingModel m_conflictResolvingModel;
78 bool m_conflictResolvingModelHasBeenSet = false;
79
80 Aws::String m_sourceName;
81 bool m_sourceNameHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CustomerProfiles
86} // namespace Aws
void SetConflictResolvingModel(ConflictResolvingModel &&value)
void SetConflictResolvingModel(const ConflictResolvingModel &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictResolution & WithSourceName(Aws::String &&value)
ConflictResolution & WithSourceName(const Aws::String &value)
ConflictResolution & WithConflictResolvingModel(ConflictResolvingModel &&value)
ConflictResolution & WithConflictResolvingModel(const ConflictResolvingModel &value)
const ConflictResolvingModel & GetConflictResolvingModel() const
AWS_CUSTOMERPROFILES_API ConflictResolution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue)
ConflictResolution & WithSourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue